Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: The Cloudera Community will undergo maintenance on Saturday, August 17 at 12:00am PDT. See more info here.

Exercise 1 in tutorial fails in verification

SOLVED Go to solution
Highlighted

Exercise 1 in tutorial fails in verification

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

Accepted Solutions

Re: Exercise 1 in tutorial fails in verification

Cloudera Employee
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.
2 REPLIES 2

Re: Exercise 1 in tutorial fails in verification

Cloudera Employee
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.

Re: Exercise 1 in tutorial fails in verification

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