我正在尝试使用我自己的自定义jar在运行Linux(64位)的Amazon EMR机器上运行'TableauSDKSample'java程序。当我尝试运行我的程序时,出现以下错误:
A fatal error occurred while creating the extract:
Hyper Server did not call back on the callback port: process = 30320
Printing stack trace now:
com.tableausoftware.TableauException: Hyper Server did not call back on
the callback port: process = 30320
at com.tableausoftware.hyperextract.Extract.<init>(Unknown Source)
at com.samsung.tabluea.TableauSDKSample.createOrOpenExtract(TableauSDKSample.j
ava:119)
at com.samsung.tabluea.TableauSDKSample.main(TableauSDKSample.java:234)
Exiting now.
这就是我的所作所为:
然后我尝试使用我的程序 以下命令:
sudo java -cp install-dir/hyperextractapi-cpp-linux-gcc-x86_64-release-2017.4.0.127.r9c0f968e/lib64/tableausdk/:install-dir/hyperextractapi-cpp-linux-gcc-x86_64-release-2017.4.0.127.r9c0f968e/lib64/tableausdk/Java/:/path/to/my/custom-jar.jar fully.qualified.MainClass
(我的主要类是TableauSDKSample)
代码肯定没有问题,因为它在我使用Eclipse IDE运行它的本地系统上运行。我做错了什么?