Details

    Description

      Create an environment failed if environment spec contains "pip:" dependencies.

      curl -X POST -H "Content-Type: application/json" -d '
      {
        "name": "my-submarine-env1",
        "dockerImage" : "continuumio/anaconda3",
        "kernelSpec" : {
          "name" : "team_default_python_3.7",
          "channels" : ["defaults"],
          "dependencies" : 
            ["_ipyw_jlab_nb_ext_conf=0.1.0=py37_0",
            "alabaster=0.7.12=py37_0",
            "anaconda=2020.02=py37_0",
            "anaconda-client=1.7.2=py37_0",
            "anaconda-navigator=1.9.12=py37_0"
            "pip:"
            "apache-submarine==0.5.0"
            "pyarrow==0.17.0"]
        }
      }
      ' http://127.0.0.1:32080/api/v1/environment

      Error messages:

       

      Unexpected character ('â' (code 226)): was expecting comma to separate Array entries
       at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 14, column: 8] (through reference chain: org.apache.submarine.server.api.spec.EnvironmentSpec["kernelSpec"]->org.apache.submarine.server.api.spec.KernelSpec["dependencies"]->java.util.ArrayList[5])
      

       

      Attachments

        Issue Links

          Activity

            People

              KUAN-HSUN-LI KUAN-HSUN-LI
              pingsutw Kevin Su
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: