I tried to configure and work on SAS Data Loader for Hadoop and it failed. The Log is as follows. Can someone help me out here to make necessary corrections and configure the same.
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: hive found on 192.168.75.129:10000[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: File "/usr/lib64/python2.6/site-packages/sashadooptool/wizard.py", line 122, in scancluster[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: trying to map: 0.0.0.0 ...[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: check hive pid owner on 192.168.75.129[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: No scan is needed[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: Using cdh quickstart rule[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: check hive2:10000 on 192.168.75.129[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: done[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: testcmd: timeout -s SIGKILL 60s sas-sshpass -p cloudera ssh cloudera@192.168.75.129 'id'[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: RARGS: sas-sshpass -p cloudera ssh cloudera@192.168.75.129 'sudo lsof -i :10000'[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: resolvable: True[0m
>rc: 0
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: File "/usr/lib64/python2.6/site-packages/sashadooptool/hadoopscanner.py", line 155, in scanclient[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: User cloudera may run the following commands on this host:[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: Checking hdfs on 192.168.75.129[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: for jar in v['jarfiles']:[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: resolvable: True[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: (ALL) NOPASSWD: ALL[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: mapped quickstart.cloudera to 192.168.75.129[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: check hive2:10000 on 192.168.75.129[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: Testing connection to 192.168.75.129 ...[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: Testing sudo capabilities for cloudera on 192.168.75.129[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: File "/usr/lib64/python2.6/site-packages/sashadooptool/sitexmls/classpathgenerators.py", line 52, in generate_mapreduce_application_classpath[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: Checking yarn on 192.168.75.129[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: trying to map: quickstart.cloudera ...[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: [0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: [0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: ERROR: client configuration failed[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: File "/usr/lib64/python2.6/site-packages/sashadooptool/wizard.py", line 88, in Run[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: RARGS: sas-sshpass -p cloudera ssh cloudera@192.168.75.129 'sudo lsof -i :10000'[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: trying to map: quickstart.cloudera ...[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: 879c4c29-b861-4416-a9e1-c790e68a6f44[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: removing symlink and recreating it later[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: cloudera@192.168.75.129's password: [0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: remotereverselookup: 127.0.0.1[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: cansudo? True[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: remotereverselookup: 0.0.0.0[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: remotereverselookup: 127.0.0.1[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: resolvable: True[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: version: cdh5.7.0[0m
>LocalExec: ********
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: resolvable: True[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: {'192.168.75.129': {'cloudera': {'sudo': True}}}[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: failonmissing=HC['overwrite_mapred_app_class_path'])[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: [0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: Checking yarn on 192.168.75.129[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: Matching Defaults entries for cloudera on this host:[0m
2016-06-01 12:32:29 USER[Unauthenticated] - ipaddress 192.168.75.130
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: trying to map: 0.0.0.0 ...[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: Traceback (most recent call last):[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: remotereverselookup: 0.0.0.0[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: File "/usr/bin/sas-hadoop-tool", line 134, in main[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: TypeError: 'NoneType' object is not iterable[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: remotereverselookup: 0.0.0.0[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4[0m
>stderr:
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: Checking hdfs on 192.168.75.129[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: check hive pid owner on 192.168.75.129[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: remotereverselookup: 0.0.0.0[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: resolvable: True[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: cloudera@192.168.75.129's password: [0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: File "/usr/lib64/python2.6/site-packages/sashadooptool/wizard.py", line 88, in Run[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: mapped 0.0.0.0 to 192.168.75.129[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: self.args.svckey)[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: sys.exit(main())[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: trying to map: 0.0.0.0 ...[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: File "/usr/bin/sas-hadoop-tool", line 140, in [0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: File "/usr/bin/sas-hadoop-tool", line 134, in main[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: self.scancluster()[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: [0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: Parsing hive information ...[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: hive found on 192.168.75.129:10000[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: sudo returned all: True[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: trying to map: 0.0.0.0 ...[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: remotereverselookup: 127.0.0.1[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: self.scancluster()[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: trying to map: quickstart.cloudera ...[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: Testing connection to 192.168.75.129 ...[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: ERROR: sas-hadoop-tool init --clienthost="192.168.75.129" --clientuser="cloudera" --clientpass="cloudera" --svckey=hivejdbc --svckey=hadoop --svckey=mapreduce --svckey=hcatapi --nojartrace failed:[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: mapped quickstart.cloudera to 192.168.75.129[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: Checking hive2:10000 on all hosts[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: for jar in v['jarfiles']:[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: resolvable: True[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: [0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: Checking hive -e 'set -v' information ...[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: self.args.svckey)[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: Testing sudo capabilities for cloudera on 192.168.75.129[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: ec = x.Run()[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: resolvable: True[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: remotereverselookup: 0.0.0.0[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: !requiretty, !visiblepw, always_set_home, env_reset, env_keep="COLORS DISPLAY HOSTNAME HISTSIZE INPUTRC KDEDIR LS_COLORS", env_keep+="MAIL PS1 PS2 QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE", env_keep+="LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES", env_keep+="LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE", env_keep+="LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY", secure_path=/sbin:/bin:/usr/sbin:/usr/bin, !secure_path[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: mapped 0.0.0.0 to 192.168.75.129[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: remotereverselookup: 0.0.0.0[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: testcmd: timeout -s SIGKILL 60s sas-sshpass -p cloudera ssh cloudera@192.168.75.129 'id'[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: ec = x.Run()[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: cansudo? True[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: trying to map: 0.0.0.0 ...[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: Finding Hadoop distro and version[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: distro: cloudera[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: sys.exit(main())[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: [0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: Using cdh quickstart rule[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: remotereverselookup: 127.0.0.1[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: File "/usr/lib64/python2.6/site-packages/sashadooptool/sitexmls/classpathgenerators.py", line 52, in generate_mapreduce_application_classpath[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: File "/usr/lib64/python2.6/site-packages/sashadooptool/hadoopscanner.py", line 155, in scanclient[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: File "/usr/lib64/python2.6/site-packages/sashadooptool/wizard.py", line 122, in scancluster[0m
2016-06-01 12:32:29 USER[Unauthenticated] - [mNotice: Running hadoopconfigure on 192.168.75.130 with arguments: ********[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: trying to map: 0.0.0.0 ...[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: !requiretty, !visiblepw, always_set_home, env_reset, env_keep="COLORS DISPLAY HOSTNAME HISTSIZE INPUTRC KDEDIR LS_COLORS", env_keep+="MAIL PS1 PS2 QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE", env_keep+="LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES", env_keep+="LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE", env_keep+="LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY", secure_path=/sbin:/bin:/usr/sbin:/usr/bin, !secure_path[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: running command: sas-hadoop-tool init --clienthost="192.168.75.129" --clientuser="cloudera" --clientpass="cloudera" --svckey=hivejdbc --svckey=hadoop --svckey=mapreduce --svckey=hcatapi --nojartrace[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: testcmd: timeout -s SIGKILL 60s sas-sshpass -p cloudera ssh cloudera@192.168.75.129 'id'[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: [0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: Checking hive pid owner on all hosts[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: Matching Defaults entries for cloudera on this host:[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: distro: cloudera[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: failonmissing=HC['overwrite_mapred_app_class_path'])[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: version: cdh5.7.0[0m
>stdout: Writing to /opt/sasinside/var/log/sva.execute/execute_task.2016.06.01.12.32.28.874721876.log
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: resolvable: True[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: User cloudera may run the following commands on this host:[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: testcmd: timeout -s SIGKILL 60s sas-sshpass -p cloudera ssh cloudera@192.168.75.129 'id'[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: Checking hive2:10000 on all hosts[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: Checking hive -e 'set -v' information ...[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: exit_code=1[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: File "/usr/bin/sas-hadoop-tool", line 140, in [0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: link /opt/sasinside/hadoop[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: resolvable: True[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: Hadoop directory exists so attempting to reuse[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: sudo returned all: True[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: Parsing hive information ...[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: TypeError: 'NoneType' object is not iterable[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: trying to map: quickstart.cloudera ...[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: Checking hive pid owner on all hosts[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: (ALL) NOPASSWD: ALL[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: 879c4c29-b861-4416-a9e1-c790e68a6f44[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: Running sas-hadoop-tool to configure the hadoop client[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: Traceback (most recent call last):[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: {'192.168.75.129': {'cloudera': {'sudo': True}}}[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: resolvable: True[0m
2016-06-01 12:33:16 USER[Unauthenticated] - [0;36mDebug: CMD local: Finding Hadoop distro and version[0m
Hi,
You may need to wait for the CDH Quickstart to fully come to life. Since it is a VM it can take a while. It also helps if your machine has a lot of RAM (32 GB is nice) since you will be running two VMs.
Best wishes,
Jeff
Hi netaji,
Welcome to the SAS Data Management Community! This scenario is best directed to Technical Support. Feel free to open a track. For information on other ways to contact Tech Support, refer to:http://support.sas.com/techsup/contact/index.html.
Best,
Anna
Hi,
You may need to wait for the CDH Quickstart to fully come to life. Since it is a VM it can take a while. It also helps if your machine has a lot of RAM (32 GB is nice) since you will be running two VMs.
Best wishes,
Jeff
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.
Find more tutorials on the SAS Users YouTube channel.