OOZIE 状态检查抛出 java.lang.NullPointerException
OOZIE status check throws java.lang.NullPointerException
我是 oozie 的新手,正在尝试在 CDH4.1.1
中编写一个 oozie 工作流程。所以我启动了 oozie 服务,然后我使用这个命令检查了状态:
sudo service oozie status
我收到消息:
running
然后我尝试了这个命令来检查状态:
oozie admin --oozie http://localhost:11000/oozie status
我得到以下异常:
java.lang.NullPointerException
at java.io.Writer.write(Writer.java:140)
at org.apache.oozie.client.AuthOozieClient.writeAuthToken(AuthOozieClient.java:182)
at org.apache.oozie.client.AuthOozieClient.createConnection(AuthOozieClient.java:137)
at org.apache.oozie.client.OozieClient.validateWSVersion(OozieClient.java:243)
at org.apache.oozie.client.OozieClient.createURL(OozieClient.java:344)
at org.apache.oozie.client.OozieClient.access[=11=]0(OozieClient.java:76)
at org.apache.oozie.client.OozieClient$ClientCallable.call(OozieClient.java:410)
at org.apache.oozie.client.OozieClient.getSystemMode(OozieClient.java:1299)
at org.apache.oozie.cli.OozieCLI.adminCommand(OozieCLI.java:1323)
at org.apache.oozie.cli.OozieCLI.processCommand(OozieCLI.java:499)
at org.apache.oozie.cli.OozieCLI.run(OozieCLI.java:466)
at org.apache.oozie.cli.OozieCLI.main(OozieCLI.java:176)
null
读取异常堆栈,我无法弄清楚这个异常的原因。请告诉我为什么会出现此异常以及如何解决此问题。
我是 oozie 的新手,正在尝试在 CDH4.1.1
中编写一个 oozie 工作流程。所以我启动了 oozie 服务,然后我使用这个命令检查了状态:
sudo service oozie status
我收到消息:
running
然后我尝试了这个命令来检查状态:
oozie admin --oozie http://localhost:11000/oozie status
我得到以下异常:
java.lang.NullPointerException
at java.io.Writer.write(Writer.java:140)
at org.apache.oozie.client.AuthOozieClient.writeAuthToken(AuthOozieClient.java:182)
at org.apache.oozie.client.AuthOozieClient.createConnection(AuthOozieClient.java:137)
at org.apache.oozie.client.OozieClient.validateWSVersion(OozieClient.java:243)
at org.apache.oozie.client.OozieClient.createURL(OozieClient.java:344)
at org.apache.oozie.client.OozieClient.access[=11=]0(OozieClient.java:76)
at org.apache.oozie.client.OozieClient$ClientCallable.call(OozieClient.java:410)
at org.apache.oozie.client.OozieClient.getSystemMode(OozieClient.java:1299)
at org.apache.oozie.cli.OozieCLI.adminCommand(OozieCLI.java:1323)
at org.apache.oozie.cli.OozieCLI.processCommand(OozieCLI.java:499)
at org.apache.oozie.cli.OozieCLI.run(OozieCLI.java:466)
at org.apache.oozie.cli.OozieCLI.main(OozieCLI.java:176)
null
读取异常堆栈,我无法弄清楚这个异常的原因。请告诉我为什么会出现此异常以及如何解决此问题。