BookmarkSubscribeRSS Feed
Venus-labs
Calcite | Level 5

I am getting the following error when trying to complete the activity to execute the following AVRO code:

 

Generic example:

Venus-labs_0-1618941910631.png

 

My code and resulting error msg.:

Venus-labs_1-1618942032748.png

 

Any suggestions are greatly appreciated.

 

Thank you,

-Doug

1 REPLY 1
DavidGhan
SAS Employee

Hi Doug,

It looks like your code is correct but there are some steps from earlier in the course that need to be executed to create some objects and files that your program needs to read. Try opening up mRemoteNG and couble click the student@hadoopclient connection. That will open a linux command line where you can execute this:

 

hdfs dfs -put /workshop/dihdm/data /user/student/dihdm

 

Next, execute this Hive program in the Hive editor in Hue:

CREATE EXTERNAL TABLE IF NOT EXISTS dihdm.population_census(county string, population int) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t' LOCATION '/user/student/dihdm/population_census';

 

Finally, in the File browser in Hue navigate to 

/user/student/dihdm/population_census

And upload D:\Workshop\dihdm\data\census_2010.csv from the windows machine.

Then try your program again and see if it works.

 

 

 

This is a knowledge-sharing community for learners in the Academy. Find answers to your questions or post here for a reply.
To ensure your success, use these getting-started resources:

Estimating Your Study Time
Reserving Software Lab Time
Most Commonly Asked Questions
Troubleshooting Your SAS-Hadoop Training Environment

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 516 views
  • 0 likes
  • 2 in conversation