Support Questions
Find answers, ask questions, and share your expertise

Re: CM update Sqoop Service Environment Safety Valve i

Explorer

Thanks again,

but we are back to sqare one, I will repost the question again,

 

Problem desc:

I need to update the 2 properties in sqoop, but I am not able do it through sqoop.propeties files as CM will overide it, Its need to be done in the  Sqoop Service Environment Safety Valve in CM,

 

 

But when I did it in the sqoop2 service, in the advanced  configuration,to setup key/value pair for  "Sqoop Service Environment Safety Valve", below is the format.

 

org.apache.sqoop.connector.autoupgrade=true

org.apache.sqoop.framework.autoupgrade=true

 

I get the below error,

Could not parse: Sqoop Service Environment Safety Valve : Could not parse parameter 'sqoop_env_safety_valve'. Was expecting: valid variable name. Input: connector.autoupgrade=true

 

If i just give it like this it works

autoupgrade=true

 

but I need the whole string. I need help, what is format?

Re: CM update Sqoop Service Environment Safety Valve i

There are multiple safety valves for sqoop, and you are editing the wrong one. See my first reply.

You need to edit the one that will alter sqoop.properties, NOT the one that will alter the environment. Read the name and description carefully.

View solution in original post

Re: CM update Sqoop Service Environment Safety Valve i

Explorer

Thanks Darren,

 

Your are right there are couple of saftey valve, I was modifiying the wrong one.

I got it working.

 

Thanks again.

 

Praveen

Re: CM update Sqoop Service Environment Safety Valve i

Glad you got it working!