importtsv runs as an M/R job, so the file needs to exist in HDFS (unless you're running in local mode, in which case you can try to use a file URL: file:///usr/ipdata.txt, although I have not tried that).
See here: http://hadoop.apache.org/common/docs/r0.17.2/hdfs_shell.html specifically -copyFromLocal or -put. importtsv is documented here: http://hbase.apache.org/book/ops_mgt.html#importtsv 'hope that helps. -- Lars ----- Original Message ----- From: iwannaplay games <[email protected]> To: [email protected] Cc: Sent: Thursday, July 19, 2012 11:55 PM Subject: Error in importtsv I ran this command ./hbase org.apache.hadoop.hbase.mapreduce.ImportTsv -Dimporttsv.columns=HBASE_ROW_KEY,startip,endip,countryname IPData /usr/ipdata.txt It says : INFO mapred.JobClient: Cleaning up the staging area hdfs://master:54310/app/hadoop/tmp/hadoop/mapred/staging/hduser/.staging/job_201207192338_0006 12/07/19 23:57:38 ERROR security.UserGroupInformation: PriviledgedActionException as:hduser cause:org.apache.hadoop.mapreduce.lib.input.InvalidInputException: Input path does not exist: hdfs://master:54310/usr/ipdata.txt Exception in thread "main" org.apache.hadoop.mapreduce.lib.input.InvalidInputException: Input path does not exist: hdfs://master:54310/usr/ipdata.txt What path should i give for ipdata.txt or ipdatatsv file (input) so that it recognizes the file Regards Prabhjot
