Sqoop1 is a CLI tool. You should be able to just write a wrapper script that sets them and calls sqoop.

On Thu, May 28, 2015 at 6:24 AM, Divya Ravichandran <div1390ravi@gmail.com> wrote:

sqoop-sys.sh doesn't exist in sqoop1.

Is there a similar work around in sqoop1?

Thanks,
Divya

On May 28, 2015 3:03 AM, "Abraham Elmahrek" <abe@cloudera.com> wrote:
Work around might be to set those variables in sqoop-sys.sh.

On Thu, May 21, 2015 at 6:49 AM, Divya Ravichandran <div1390ravi@gmail.com> wrote:

Hello,

I am trying to run sqoop and yarn on the same machine.

Sqoop needs JAVA_HOME be set to JDK whereas yarn requires JRE(which is the recommended setting).

Can this setting be changed dynamically so it can pick up JDK for sqoop and JRE for yarn?

Or any workarounds possible?

Please let me know!

Thanks,
Divya