[jira] [Commented] (HIVE-1612) Cannot build hive for hadoop 0.21.0
[ https://issues.apache.org/jira/browse/HIVE-1612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13016690#comment-13016690 ] Bochun Bai commented on HIVE-1612: -- Juho, trunk(v1089737) still not compiled against hadoop-core-0.21.0 And there is no notes for 0.21 support in the RELEASE-NOTE Cannot build hive for hadoop 0.21.0 --- Key: HIVE-1612 URL: https://issues.apache.org/jira/browse/HIVE-1612 Project: Hive Issue Type: Bug Affects Versions: 0.7.0 Reporter: AJ Pahl Attachments: HIVE-1612-for-r1043843.patch, HIVE-1612-for-r1043843.patch, HIVE-1612.patch Current trunk for 0.7.0 does not support building HIVE against the Hadoop 0.21.0 release. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (HIVE-1612) Cannot build hive for hadoop 0.21.0
[ https://issues.apache.org/jira/browse/HIVE-1612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12985328#action_12985328 ] Krystian Nowak commented on HIVE-1612: -- More general remark connected with this issue: Do you possibly know if there are any plans to release Hive 0.6.x where x0 (the same way as with 0.4.1 previously) compatible with Hadoop 0.21.0? As Hadoop 0.21.0 has been released on 23 August 2010 and Hive 0.6.0 has been released on 19 October 2010 (almost 2 months later) it seems highly probable that users would tend to use (or rather *try* to use) Hive 0.6.0 with newest stable version rather than with 0.20.2 version released on 26 February 2010. That's why there is a question if you know whether there are any plans to release - let's say - Hive 0.6.1 targeted for compatibility with Hadoop 0.21.0 before 0.7.0 is released? 181 of 248 issues have been resolved as of today: https://issues.apache.org/jira/secure/BrowseProject.jspa?id=12310843subset=-1 so candidly assuming linear progress (shame on me...) should we expect rather 0.7.0 stable in the end of February / beginning of March or rather 0.6.1 might be worth creating before? Cannot build hive for hadoop 0.21.0 --- Key: HIVE-1612 URL: https://issues.apache.org/jira/browse/HIVE-1612 Project: Hive Issue Type: Bug Affects Versions: 0.7.0 Reporter: AJ Pahl Attachments: HIVE-1612-for-r1043843.patch, HIVE-1612-for-r1043843.patch, HIVE-1612.patch Current trunk for 0.7.0 does not support building HIVE against the Hadoop 0.21.0 release. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (HIVE-1612) Cannot build hive for hadoop 0.21.0
[ https://issues.apache.org/jira/browse/HIVE-1612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12985526#action_12985526 ] Namit Jain commented on HIVE-1612: -- Right now, there are no plans to release Hive 0.6.x. (where x 0) compatible with hadoop 0.21.0 Do you guys think it is a good time to start wrapping up Hive 0.7 ? If we can get 0.7 out by March (with support for Hadoop 0.21), do we still need Hive 0.6.1 ? Cannot build hive for hadoop 0.21.0 --- Key: HIVE-1612 URL: https://issues.apache.org/jira/browse/HIVE-1612 Project: Hive Issue Type: Bug Affects Versions: 0.7.0 Reporter: AJ Pahl Attachments: HIVE-1612-for-r1043843.patch, HIVE-1612-for-r1043843.patch, HIVE-1612.patch Current trunk for 0.7.0 does not support building HIVE against the Hadoop 0.21.0 release. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (HIVE-1612) Cannot build hive for hadoop 0.21.0
[ https://issues.apache.org/jira/browse/HIVE-1612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12985544#action_12985544 ] Krystian Nowak commented on HIVE-1612: -- Would that 0.7 be much different than what now Amazon is referring to as 0.7 in their EMR: [http://docs.amazonwebservices.com/ElasticMapReduce/latest/DeveloperGuide/index.html?UsingEMR_Hive.html] ? It seems to confuse people currently as in HIVE-1878's comments: {quote}Amazon referred to their binaries as 0.7, even though it hadn't been released yet{quote} (myself as well, that's why I was asking if 0.7 - which I initially thought would be the one Amazon is unofficially using - will be just officially considered as 0.7.0 final/stable/ANY_OTHER_SERIOUS_ADJECTIVE) Cannot build hive for hadoop 0.21.0 --- Key: HIVE-1612 URL: https://issues.apache.org/jira/browse/HIVE-1612 Project: Hive Issue Type: Bug Affects Versions: 0.7.0 Reporter: AJ Pahl Attachments: HIVE-1612-for-r1043843.patch, HIVE-1612-for-r1043843.patch, HIVE-1612.patch Current trunk for 0.7.0 does not support building HIVE against the Hadoop 0.21.0 release. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (HIVE-1612) Cannot build hive for hadoop 0.21.0
[ https://issues.apache.org/jira/browse/HIVE-1612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12965068#action_12965068 ] Daisuke Fujiwara commented on HIVE-1612: Hi AJ, I would like to get more information about your environment because I can successfully start the hive cli session as well as hive thrift server, and they seem to work fine. Your error messages suggest to me that your class path is not set correctly for some reason. However those two classes that are reported (org/apache/hadoop/hive/conf/HiveConf and org/apache/thrift/protocol/TProtocolFactory) are present in the $HIVE_HOME/lib folder, namely hive-common-0.7.0.jar and libthrift.jar. Delving further into how the classpath is set, it seems like bin/hive takes care of it. So I am not sure why your instance fails to locate those classes. Please let me know if you have any suggestions. Cannot build hive for hadoop 0.21.0 --- Key: HIVE-1612 URL: https://issues.apache.org/jira/browse/HIVE-1612 Project: Hive Issue Type: Bug Affects Versions: 0.7.0 Reporter: AJ Pahl Attachments: HIVE-1612.patch Current trunk for 0.7.0 does not support building HIVE against the Hadoop 0.21.0 release. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (HIVE-1612) Cannot build hive for hadoop 0.21.0
[ https://issues.apache.org/jira/browse/HIVE-1612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12926518#action_12926518 ] AJ Pahl commented on HIVE-1612: --- As per Daisuke's instructions I was able to complile trunk-1000628 against Hadoop 0.21.0. Unfortunately, execution isn't exactly like Singo's but is still contains a few exceptions: -bash-3.2$ ./hive Exception in thread main java.lang.NoClassDefFoundError: org/apache/hadoop/hive/conf/HiveConf at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.apache.hadoop.util.RunJar.main(RunJar.java:185) Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hive.conf.HiveConf at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) ... 3 more Also starting hiveserver... Starting Hive Thrift Server Exception in thread main java.lang.NoClassDefFoundError: org/apache/thrift/protocol/TProtocolFactory at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.apache.hadoop.util.RunJar.main(RunJar.java:185) Caused by: java.lang.ClassNotFoundException: org.apache.thrift.protocol.TProtocolFactory at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) ... 3 more I've had success with compiling previous releases of 0.6.0 and 0.7.0 (prior to 0.21.0) so I'm pretty sure my environment is correct for testing this. (ie: Classpath etc) Daisuke, keep up the good work. I think this JIRA will be renamed DAISUKE-1612 if you can get it worked out. :) Cannot build hive for hadoop 0.21.0 --- Key: HIVE-1612 URL: https://issues.apache.org/jira/browse/HIVE-1612 Project: Hive Issue Type: Bug Affects Versions: 0.7.0 Reporter: AJ Pahl Attachments: HIVE-1612.patch Current trunk for 0.7.0 does not support building HIVE against the Hadoop 0.21.0 release. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (HIVE-1612) Cannot build hive for hadoop 0.21.0
[ https://issues.apache.org/jira/browse/HIVE-1612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12923487#action_12923487 ] SingoWong commented on HIVE-1612: - Hi, Can you execute the hive-ql in hive client? i got this error below: $ ./hive Exception in thread main java.lang.RuntimeException: Could not load shims in class null at org.apache.hadoop .hive.shims.ShimLoader.loadShims(ShimLoader.java:86) at org.apache.hadoop .hive.shims.ShimLoader.getHadoopShims(ShimLoader.java:62) at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:234) 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:192) Caused by: java.lang.NullPointerException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at org.apache.hadoop .hive.shims.ShimLoader.loadShims(ShimLoader.java:83) ... 7 more and cannot execute hive, is it HIVE dont support hadoop0.21.0 now? Thanks Regards, Singo Cannot build hive for hadoop 0.21.0 --- Key: HIVE-1612 URL: https://issues.apache.org/jira/browse/HIVE-1612 Project: Hive Issue Type: Bug Affects Versions: 0.7.0 Reporter: AJ Pahl Attachments: HIVE-1612.patch Current trunk for 0.7.0 does not support building HIVE against the Hadoop 0.21.0 release. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.