cloudera - Hue UI Sqoop through Oozie - Passing Parameter values -
i trying pass server details , username , password thorugh job.properties files in sqoop action in hue oozie.
we on sqoop 1.4.5-cdh5.3.3
if run command on cli runs fine, on hue oozie workflow fails
command in sqoop action ui:
list-databases --connect "jdbc:sqlserver://${dbserver}:140" -- username=edm_hadoop_user --password=${dbpass} scenario:
i have job.properties files has below info in , present along workflow.xml file in hdfs.
dbserver=facets dbport=140 dbuser=******* dbpass=******* if populate "parms" , test values 'dbserver' , 'dbpass' works fine, dont want since need schedule workflow , want run automatically picking server , password details file
if add "job properties" this
property name = dbserver value=${dbserver} , wise dbpass fails error cannot resolve dbserver means not sustituting values job.properties file.
if add "files" , specify job.properties file location in not picking values either , job fails.
i have created job.xml file above values in properties , gave file name in "job xml" workflow failed.
how should specify parameters if want run sqoop action workflow hue ui oozie ?
or should doing creating workflow.xml , job.properties file separately , call them using shell action on oozie hue ?
Comments
Post a Comment