I'm trying to pass context variable to tSSH to execute hive script but failed. It was not able to substitute the value from context variable. Can anyone help me?
"hive -d tablename=pbp -f hdfs://shtbdthdpd01:8020/user/bdhdev/script/L2_test.sql"
"hive -d tablename="+context.tablename+" -f hdfs://shtbdthdpd:8020/user/bdhdev/script/L2_test.sql"
Is there any synax error in your java code? You can check your "Code" tab in your job. There would be your compile error highlighted in red line.