Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-14295

Start dataprep bootstrap step logs a warn

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.0
    • Fix Version/s: 5.1.0
    • Component/s: Master, Standalone
    • Labels:
      None
    • Rank:
      1|i00hhb:

      Description

      I created a sandbox from latest develop.
      I'm seeing the following warning in the logs:

      2018-09-10 02:49:38,585 - DEBUG [bootstrap-service:c.c.c.i.b.e.BaseStepExecutor@66] - Bootstrap step Create dataprep application completed successfully
      2018-09-10 02:49:38,586 - WARN  [bootstrap-service:c.c.c.i.b.e.BaseStepExecutor@58] - Bootstrap step Start dataprep service failed due to invalid arguments: Application name must be specified 

       

      This seems like a misconfiguration.
      For reference, here's the bootstrap config file that exists in the sandbox (I didn't modify it):

      $ cat /opt/cdap/sandbox/bootstrap/sandbox.json
      {
        "steps": [
          {
            "label": "Create native profile",
            "type": "CREATE_NATIVE_PROFILE",
            "runCondition": "ONCE"
          },
          {
            "label": "Create default namespace",
            "type": "CREATE_DEFAULT_NAMESPACE",
            "runCondition": "ONCE"
          },
          {
            "label": "Load system artifacts",
            "type": "LOAD_SYSTEM_ARTIFACTS",
            "runCondition": "ALWAYS"
          },
          {
            "label": "Create dataprep application",
            "type": "CREATE_APPLICATION",
            "runCondition": "ONCE",
            "arguments": {
              "namespace": "default",
              "name": "dataprep",
              "artifact": {
                "name": "wrangler-service",
                "version": "[3.0.0, 4.0.0)",
                "scope": "SYSTEM"
              }
            }
          },
          {
            "label": "Start dataprep service",
            "type": "START_PROGRAM",
            "runCondition": "ALWAYS",
            "arguments": {
              "namespace": "default",
              "type": "service",
              "name": "service"
            }
          }
        ]
      } 

        Attachments

          Activity

            People

            • Assignee:
              ashau Albert Shau
              Reporter:
              ali.anwar Ali Anwar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: