SQl connector version and also oozie worklow problem



0

How you doing? I am little confuse about documenation Dezyre has it for Twitter Project.Please help me,if you can.I would like to know what connector do I need.I meant which version.I am slo stuck on hive-site.xml

cp /var/lib/oozie/mysql-connector-java.jar oozie-workflows/lib


4 Answer(s)


0

Hi Jagdeep,

The oozie-workflow connector is available in the twitter project zip file.

First, extract the contents of zip. Goto to Module_Project_Twitter\oozie-workflows\lib.

You will find the respective Mysql connector for the project. If you are not using MySQL to store data, you can skip this step.

Please let me know if you have any other question for me.

Thanks.

 


0

Hi Abhijit,

I had skip the step also ran to diffreent issue.I had check the job.prpoerties file is also there but still getting this error as below.Please look into,,when you get a chance.

Thanks!!

oozie job -oozie http://localhost:11000/oozie -config oozie-workflows/job.properties -run
java.io.IOException: configuration file [oozie-workflows/job.properties] not found
    at org.apache.oozie.cli.OozieCLI.getConfiguration(OozieCLI.java:641)
    at org.apache.oozie.cli.OozieCLI.jobCommand(OozieCLI.java:795)
    at org.apache.oozie.cli.OozieCLI.processCommand(OozieCLI.java:512)
    at org.apache.oozie.cli.OozieCLI.run(OozieCLI.java:485)
    at org.apache.oozie.cli.OozieCLI.main(OozieCLI.java:182)
configuration file [oozie-workflows/job.properties] not found

 


0

Hi Jagdeep,

The error shows that it is not able to find job.properties. The properties file must be available locally to the user.

It must be having proper permission to access it.

Hope this helps.

Thanks.


0

Hi Abhijit,

I had change the permisssion also but still same error.Please help me,when you get a chance.

Thanks!!

java.io.IOException: configuration file [oozie-workflows/job.properties] not found
    at org.apache.oozie.cli.OozieCLI.getConfiguration(OozieCLI.java:641)
    at org.apache.oozie.cli.OozieCLI.jobCommand(OozieCLI.java:795)
    at org.apache.oozie.cli.OozieCLI.processCommand(OozieCLI.java:512)
    at org.apache.oozie.cli.OozieCLI.run(OozieCLI.java:485)
    at org.apache.oozie.cli.OozieCLI.main(OozieCLI.java:182)