locked
Running hive activity (with shell script) in Azure Data Factory RRS feed

  • Question

  • Hi 

    I want to run a hive activity in Azure Data Factory. I have a shell script with hive related code. I have placed this in "/home/sshuser/myscript.sh" path. And I am calling this shell script in .hql file(stored in blob) in hive activity.

    myhive.hql

    !sh /home/sshuser/myscript.sh

    But I get an error that this path does not exist. I tried to follow the below link as reference , but it is not working. 

    https://social.msdn.microsoft.com/Forums/azure/en-US/28517210-bcd0-4f37-a2d0-5c4f59132ce0/running-a-shell-script-from-adf-azure-data-factory?forum=hdinsight


    Could you please help me?


    Wednesday, December 13, 2017 2:05 PM

All replies

  • Could someone please help me on this??
    Wednesday, December 27, 2017 11:35 AM
  • Please try to reference your sh file by wasb Url, instead of local path.
    Tuesday, February 6, 2018 7:34 AM