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

Deploying app using CLI on windows fails

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.1.0, 3.0.0
    • Fix Version/s: 3.1.1
    • Component/s: CLI
    • Labels:
      None
    • Rank:
      1|hzyxov:

      Description

      Deploying apps, sending events to streams fails with an internal error while using CLI on windows

      deploy app cdap-cube-guide-1.0.0-SNAPSHOT.jar
      Successfully connected to CDAP instance at http://BELR90A9KWL:10000/default
      Error: Unexpected internal error near index 1
      \
      
       load stream weblogs resources/accesslog.txt
      Successfully connected to CDAP instance at http://BELR90A9KWL:10000/default
      Error: Unexpected internal error near index 1
      \
       ^
      

      The error comes from a Patten syntaxException cause by the following line

      String[] tokens = path.split(File.separator);
      

      FilePathResolver.java line 78

        Attachments

          Activity

            People

            • Assignee:
              bhooshan Bhooshan Mogal
              Reporter:
              sree Sreevatsan Raman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: