hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Nicholas <chrisgnicho...@att.net>
Subject newbie build/debug question
Date Wed, 21 Jul 2010 19:30:11 GMT
greetings - I am embarking down the hive path, trying to build a simple SerDe 
based on the example in

org.apache.hadoop.hive.serde2.binarysortable.

So, I checked out the code, did "ant -Djavac.debug=on package" , got a nice 
build/dist area, but when I try to run hive, I get much foo:

[cgn@td dist]$ echo $HADOOP_HOME
/home/cgn/src/hadoop-0.20.2

[cgn@td dist]$ hadoop fs -ls
-rw-r--r--   1 cgn supergroup      26275 2010-07-20 11:58 
/user/cgn/testtable.serde

[cgn@td dist]$hive

/home/cgn/src/hive_new/build/dist/bin/hive: line 35: [: 
/home/cgn/src/hive_new/build/dist/lib/hive-exec-0.5.0.jar: binary operator 
expected
/home/cgn/src/hive_new/build/dist/bin/hive: line 40: [: 
/home/cgn/src/hive_new/build/dist/lib/hive-metastore-0.5.0.jar: binary operator 
expected
/home/cgn/src/hive_new/build/dist/bin/hive: line 46: [: 
/home/cgn/src/hive_new/build/dist/lib/hive-cli-0.5.0.jar: binary operator 
expected
/home/cgn/src/hive_new/build/dist/bin/ext/util/execHiveCmd.sh: line 6: [: 
/home/cgn/src/hive_new/build/dist/lib/hive-cli-0.5.0.jar: binary operator 
expected
trying: /home/cgn/src/hadoop-0.20.2/bin/hadoop jar 
/home/cgn/src/hive_new/build/dist/lib/hive-cli-0.5.0.jar 
/home/cgn/src/hive_new/build/dist/lib/hive-cli-0.7.0.jar 
org.apache.hadoop.hive.cli.CliDriver
Exception in thread "main" java.lang.ClassNotFoundException: 
/home/cgn/src/hive_new/build/dist/lib/hive-cli-0/7/0/jar
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at org.apache.hadoop.util.RunJar.main(RunJar.java:149)
[cgn@td dist]$



does this look vaguely familiar to anyone...? 

comments/suggestions/"RTFMs" welcomed.

thanks!
Chris

Mime
View raw message