BookmarkSubscribeRSS Feed
india2016
Pyrite | Level 9

Hello Experts,

 

I need your quick help regarding bulkload option.

Scenario: 

I am trying to load data into Hadoop library from SAS work library. Trying with sample 10 records and after 15minutes wait time, 0 records has been loaded to hadoop table..

 

Tried 3ways with Bulkload=Yes option but getting same output.

1) Data Hdp.abc(bulkload=yes);

set sashelp.cars(obs=10);

run;

 

2) proc append base=Hdp.abc(bulkload=yes) data=work.cars;

run;

 

3) created table structre and tried to pust using Insert into statement.

 

Please suggest the fastet way to load data into Hadoop table

or let me know do I need to do any other changes in config file to work BULKLOAD option.

 

11 REPLIES 11
Patrick
Opal | Level 21

Your syntax should work. Do you get any error or warning messages or is the SAS job just hanging?

Is there any SAS process that already loads data into this Hadoop cluster?

india2016
Pyrite | Level 9
Hello Patrick,

I am not getting any warning or Error. Job is running as usual with long time and did not load single row into Hadoop table and there is no job which loads data into hadoop cluster.
Trying to load data first time.

Patrick
Opal | Level 21

Given you run a proc append I would expect that your job either fails or data gets loaded. 

 

IF data gets loaded then we could look into performance, if it fails then first why and where it fails.

 

What does the SAS log tell you for the Proc Append step? Please share the code.

 

Ideally run your job with following options set before the Proc Append:

option sastrace=',,,d' sastraceloc=saslog nostsuffix;

 

And not sure and haven't checked if it also applies for Hadoop but also set the following option:

option DBIDIRECTEXEC;

 

And then share the SAS log for at least the Proc Append step.

 

 

LinusH
Tourmaline | Level 20

Have you tried to use

options sastrace=",,,ds" sastraceloc=saslog nostsuffix msglevel=i;

?

Data never sleeps
india2016
Pyrite | Level 9

Yes LinusH , I have tried these options as well but could not push data into Hadoop table.

LinusH
Tourmaline | Level 20
These options doesn't make it work.
What you could hope for is more informatIon in the log (which could be posted here).
Data never sleeps
SASKiwi
PROC Star

Does it work without the BULKLOAD option? Have you checked with your SAS administrator regarding any site-specific requirements? 

india2016
Pyrite | Level 9

Hello SAS Kiwi,

 

I tried without bulkload as well but same result.

and can you please tell me, what site-specific requirements needs to check with Admin?

Sorry I did not get your question.

 

SASKiwi
PROC Star

I assume that someone in your organisation has actually tested loading SAS data into Hadoop. Your SAS administrator should know what the coding requirements are to do this successfully - ask them what they are. If they don't know they should know someone who does. Otherwise I suggest you open a track with SAS Tech Support. 

india2016
Pyrite | Level 9

Thanks SAS Kiwi ,

 

I have raised ticket with SAS tech support .

THanks for your input.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

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
  • 11 replies
  • 700 views
  • 0 likes
  • 5 in conversation