from this, running following:
bin/hbase org.apache.hadoop.hbase.mapreduce.importtsv -dimporttsv.columns=a,b,c <tablename> <hdfs-inputdir> i not able figure out, be: hdfs-inputdir. have created directory in hdfs fs : hadoop fs -mkdir datadir , place csv file in folder using copyfromlocal option of hadoop fs command.
since, didnt specify full path while doing copyfromlocal , mkdir. directory created under hdfs home folder of user running mkdir , copyfromlocal command. usually, user folder under /user/${username}
Comments
Post a Comment