Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here. Want to know more about what has changed? Check out the Community News blog.

Exercise 1 in tutorial fails in verification

SOLVED Go to solution

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

Master Collaborator
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

Master Collaborator
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.