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

If project or credentials cannot be detected, error nicely

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: 5.1.0
    • Component/s: Pipeline Plugins
    • Labels:
      None
    • Rank:
      1|i00im7:

      Description

      As an example, if somebody tries to run a pipeline with big query sink on their laptop with a service account key specified but project id as 'auto-detect', the pipeline will fail with some 403 exception in the logs about some project number.

      In this scenario, it is incorrect configuration, as the project id of the dataset must be specified if it can't be picked up from the environment. The plugin should check that at prepare time and error with a nice message, something like

      'The project ID could not be detected from the environment. Please specify the project ID'

        Attachments

          Activity

            People

            • Assignee:
              ashau Albert Shau
              Reporter:
              ashau Albert Shau
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: