How to use LineageInfo.java in personal module

2015-07-08 Thread baishaoqi
Hi:
  I am new to hive.
  There are many hive sql command in a file. I want to figure out what input 
table and output table names are in each hive sql command. 
   
  There is a class LineageInfo.java in 
$HIVE_HOME/ql/src/java/org/apache/hadoop/hive/ql/tools
 
  The feature I want is like this:



  But how do I use LineageInfo.java? Do I have to compile ql module, or do I 
have to compile the whole hive project.
  
  Does anyone has any suggestions on how to make this feature?
  
  Hope you'll reply soon!

2015-07-09


baishaoqi 

new to hive and could't build success

2015-07-02 Thread baishaoqi
Dear developers:
I am new to hive,  I have a work which have to compile hive and make some 
modifications for my use(very few)。
but when I type the following command:

  $ svn co http://svn.apache.org/repos/asf/hive/trunk hive
  $ cd hive
  $ mvn clean install -Phadoop-2,dist
   
  but couldn't success
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 26:58 min
[INFO] Finished at: 2015-07-02T16:21:52+08:00
[INFO] Final Memory: 203M/3304M
[INFO] 
[ERROR] Failed to execute goal on project hive-hcatalog-pig-adapter: Could not 
resolve dependencies for project 
org.apache.hive.hcatalog:hive-hcatalog-pig-adapter:jar:1.2.0-SNAPSHOT: Could 
not transfer artifact joda-time:joda-time:jar:2.2 from/to central 
(https://repo.maven.apache.org/maven2): GET request of: 
joda-time/joda-time/2.2/joda-time-2.2.jar from central failed: SSL peer shut 
down incorrectly -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn  -rf :hive-hcatalog-pig-adapter

  

2015-07-02


baishaoqi