Support Questions

Find answers, ask questions, and share your expertise

Exercise 1 in tutorial fails in verification

avatar
Explorer

The code does produce a folder for each table but the 'categories' folder has only two files:

 

[cloudera@quickstart ~]$ hadoop fs -ls /user/hive/warehouse/categories/

Found 2 items
-rw-r--r--   1 cloudera hive          0 2016-01-10 12:36 /user/hive/warehouse/categories/_SUCCESS
-rw-r--r--   1 cloudera hive       1344 2016-01-10 12:36 /user/hive/warehouse/categories/part-m-00000.avro

 

I do not have the result of the codes which ran before this. I would appreciate it if someone  help me what I am doing wrong and how to fix this. 

1 ACCEPTED SOLUTION

avatar
Guru
If you ran Sqoop with the '-m 1' argument, you should only expect to see
one *.part file. If you're confused because the screenshot shows 3, that is
because the tutorial is adapted to several different environments, and one
clusters with multiples disks, multiple mappers should be used, and thus
you end up with multiple partitions of the data in HDFS. If you're on the
QuickStart VM, it's likely that nothing is wrong.

View solution in original post

2 REPLIES 2

avatar
Guru
If you ran Sqoop with the '-m 1' argument, you should only expect to see
one *.part file. If you're confused because the screenshot shows 3, that is
because the tutorial is adapted to several different environments, and one
clusters with multiples disks, multiple mappers should be used, and thus
you end up with multiple partitions of the data in HDFS. If you're on the
QuickStart VM, it's likely that nothing is wrong.

avatar
Explorer
Thank you very much Sean. It helped a lot.