Regards,
Abhishek Tiwari
edureka! Support Team
On Mon, 11 Apr at 6:26 PM , Hadoop at Edureka <hadoop@edureka.in> wrote:

Please use below commands and keep your data in below format for desired output.

// copy file in to hdfs

hdfs dfs -put /home/edureka/Desktop/min1.txt

// Data in min1.txt

4000001 Kristina,Chung,55,Pilot    //  4000001 will be considered as RowKey so don't specify ","
4000002 Paige,Chen,74,Teacher
4000003 Sherri,Melton,34,Firefighter

//load your data in to table

HADOOP_CLASSPATH=`${HBASE_HOME}/bin/hbase classpath` hadoop jar /home/edureka/hbase-server-1.1.4.jar importtsv -Dimporttsv.separator=, -Dimporttsv.columns=HBASE_ROW_KEY,info:fname,info:lname,info:age,info:prof custome min

Now, you will get desired output.


Please share your feedback by choosing either of smiley's.

Please note if you are not happy with the response on this ticket, please escalate it to escalations@edureka.in.
We assure you that we will get back to you within 24 hours 


Regards,
Abhishek Tiwari
edureka! Support Team
On Mon, 11 Apr at 6:37 AM , Hadoop at Edureka <hadoop@edureka.in> wrote:
Dear Yusufee,

Hope you are doing well.

We have received your concern, our team is working on your query.

Please allow us some time and we will get back to you at the earliest.

Thank you for your patience and understanding.

Feel free to contact us in case you have any other query.

Please note if you are not happy with the response on this ticket, please escalate it to escalations@edureka.in.
We assure you that we will get back to you within 24 hours

 
Regards,
Suman Samanta
edureka! Support Team
On Sun, 10 Apr at 11:26 PM , Yusufeen <yusufeen@gmail.com> wrote:

trying following from LMS for hbase

input (custs) file has following data
4000001,Kristina,Chung,55,Pilot
4000002,Paige,Chen,74,Teacher
4000003,Sherri,Melton,34,Firefighter
-----

table created in hbase
>>create "customers","info"

now issued following commands of LMS, (it seems hbase import)

> HADOOP_CLASSPATH=`${HBASE_HOME}/bin/hbase classpath` hadoop jar /home/edureka/hbase-1.1.4/lib/hbase-server-1.1.4.jar importtsv -Dimporttsv.separator=, -Dimporttsv.bulk.output=output -Dimporttsv.columns=HBASE_ROW_KEY,info:id,info:fname,info:lname,info:age,info:prof customers custs


> HADOOP_CLASSPATH=`${HBASE_HOME}/bin/hbase classpath` hadoop jar /home/edureka/hbase-1.1.4/lib/hbase-server-1.1.4.jar completebulkload /user/edureka/output customers

now querying hbase
hbase(main):005:0* get "customers","4000003"
COLUMN                              CELL
 info:age                           timestamp=1460294816102, value=Firefighter
 info:fname                         timestamp=1460294816102, value=Melton
 info:id                            timestamp=1460294816102, value=Sherri
 info:lname                         timestamp=1460294816102, value=34
4 row(s) in 0.4240 seconds


Data at incorrect key/value? where its getting incorrect ?

186289