-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can not start the windowCli #11
Comments
Looks like some issue with communication from the CLI to the WIndowingServer. So from the CLI a process is spawned to run the WindowingEngine. The first thing this does is send the CLI the port to commute on; this initial communication is failing. |
THISSERVICE=windowingCli windowingCli () { JAR=/tmp/windowing/com.sap.hadoop.windowing-.jar } |
Ameet, are you also having this issue? |
sorry, didn't see the thread started by someone else. No, it works fine if I use metaservice. but not without it |
The .sh file is the same as mine. How and what is metaservice? I didn't use that.
|
He is talking about the hive metastore server. Can you check the following things
|
you need a metaservice to use this jar,
|
It is fresh installed hive + hadoop. The only thing I changed is to use the mysql as the metastore in the hive-site.xml
|
it's not enough to use mySQL as a metastore. You need to use a metastore service. |
Hey Yong, maybe a quick call might help with resolving these issues. Let me know if you want to do this & when. Send me a private message. |
OK. I started again to try this software. It is a very good feature, and I really want to make it work in my environment. I got your 2 jar files. Without dependence one is put in $HIVE_HOME/lib, With-dependence one is put in $MY_HOME/lib yzhang@bsdhcp15755:~> ls -ls yzhang@bsdhcp15755: yzhang@bsdhcp15755:~/hive/bin/ext> more windowCli.sh THISSERVICE=windowingCli windowingCli () { windowingCli_help () { yzhang@bsdhcp15755:~/hive/bin/ext> ls ~/hive/lib/com.sap.hadoop.windowing-0.0.1-SNAPSHOT.jar yzhang@bsdhcp15755:~/hive/bin/ext> ls ~/lib/com.sap.hadoop.windowing-0.0.1-SNAPSHOT-jar-with-dependencies.jar yzhang@bsdhcp15755:~> hive --service windowingCli -w /home/yzhang/lib/com.sap.hadoop.windowing-0.0.1-SNAPSHOT-jar-with-dependencies.jar I can see the class groovy/lang/GroovyObject is in /home/yzhang/lib/com.sap.hadoop.windowing-0.0.1-SNAPSHOT-jar-with-dependencies.jar file. Any idea why? |
Yes, thanks for catching this. |
Same as Issue 14 |
Tested with CDH3 Update 3 (cdh3u3)
Here is error log, any idea what I did wrong?
~/hive/bin> hive --service windowingCli -w com.sap.hadoop.windowing-0.0.1-SNAPSHOT-jar-with-dependencies.jar
Hive history file=/tmp/yzhang/hive_job_log_yzhang_201202112135_1368506989.txt
Exception in thread "main" com.sap.hadoop.windowing.WindowingException: java.lang.NumberFormatException: null
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:54)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190)
at com.sap.hadoop.windowing.cli.WindowingClient.connect(WindowingClient.groovy:126)
at com.sap.hadoop.windowing.cli.WindowingClient.(WindowingClient.groovy:38)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:54)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:198)
at com.sap.hadoop.windowing.WindowingHiveCliDriver.setupClient(WindowingHiveCliDriver.groovy:64)
at com.sap.hadoop.windowing.WindowingHiveCliDriver$setupClient.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at com.sap.hadoop.windowing.WindowingHiveCliDriver.main(WindowingHiveCliDriver.groovy:221)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.util.RunJar.main(RunJar.java:197)
Caused by: java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:417)
at java.lang.Integer.parseInt(Integer.java:499)
at java_lang_Integer$parseInt.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at com.sap.hadoop.windowing.cli.WindowingClient.readPort(WindowingClient.groovy:110)
at com.sap.hadoop.windowing.cli.WindowingClient.connect(WindowingClient.groovy:117)
... 21 more
The text was updated successfully, but these errors were encountered: