Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: client
    • Labels:
      None

      Description

      Currently, you can add/override job.properties properties on the Oozie CLI as -D arguments. If you specify all properties this way, the Oozie CLI still requires a job.properties, even if it's empty; that's just silly. We should make the -config argument optional.

        Activity

        Hide
        puru Purshotam Shah added a comment -

        Robert Kanter did you verified this? I remember I made this changes while working on one the JIRA.

        Show
        puru Purshotam Shah added a comment - Robert Kanter did you verified this? I remember I made this changes while working on one the JIRA.
        Hide
        puru Purshotam Shah added a comment -

        It works on latest CLI.

        $ oozie job -run -oozie http://localhost:11000/oozie -DnameNode=hdfs://localhost:9000 -DjobTracker=localhost:9001 -DqueueName=default -DexamplesRoot=examples -Doozie.coord.application.path=examples/apps/aggregator/coordinator.xml
        job: 0000000-160229135929135-oozie-puru-C
        $
        
        Show
        puru Purshotam Shah added a comment - It works on latest CLI. $ oozie job -run -oozie http: //localhost:11000/oozie -DnameNode=hdfs://localhost:9000 -DjobTracker=localhost:9001 -DqueueName= default -DexamplesRoot=examples -Doozie.coord.application.path=examples/apps/aggregator/coordinator.xml job: 0000000-160229135929135-oozie-puru-C $
        Hide
        rkanter Robert Kanter added a comment -

        You're right. I hadn't tried that in a while and someone mentioned it to me recently, but I hadn't actually tried it out.

        Show
        rkanter Robert Kanter added a comment - You're right. I hadn't tried that in a while and someone mentioned it to me recently, but I hadn't actually tried it out.

          People

          • Assignee:
            Unassigned
            Reporter:
            rkanter Robert Kanter
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development