pooja2702 opened a new issue #4134: Error while trying to run 
quick-start-offline on windows
URL: https://github.com/apache/incubator-pinot/issues/4134
 
 
   While running quick-start-offline.sh in a Windows 10 environment, the 
following exception occurs:
   quick-start-offline.sh*
   
   Could not construct uri from path 
C:\Users\Pooja\AppData\Local\Temp\\PinotController
   Caught internal server exception while uploading segment
   org.apache.pinot.controller.api.resources.InvalidControllerConfigException: 
Caught exception while initializing file upload path provider
           at 
org.apache.pinot.controller.api.resources.FileUploadPathProvider.<init>(FileUploadPathProvider.java:90)
           at 
org.apache.pinot.controller.api.resources.PinotSegmentUploadRestletResource.uploadSegment(PinotSegmentUploadRestletResource.java:269)
           at 
org.apache.pinot.controller.api.resources.PinotSegmentUploadRestletResource.uploadSegmentAsMultiPartV2(PinotSegmentUploadRestletResource.java:469)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:498)
           at 
org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
           at 
org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
           at 
org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
           at 
org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:159)
           at 
org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
           at 
org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
           at 
org.glassfish.jersey.server.model.ResourceMethodInvoker.lambda$apply$0(ResourceMethodInvoker.java:381)
           at 
org.glassfish.jersey.server.ServerRuntime$AsyncResponder$2$1.run(ServerRuntime.java:819)
           at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
           at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
           at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
           at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
           at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
           at 
org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
           at 
org.glassfish.jersey.server.ServerRuntime$AsyncResponder$2.run(ServerRuntime.java:814)
           at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
           at java.util.concurrent.FutureTask.run(FutureTask.java:266)
           at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
           at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
           at java.lang.Thread.run(Thread.java:745)
   Caused by: java.lang.RuntimeException: java.net.URISyntaxException: Illegal 
character in opaque part at index 2: 
C:\Users\Pooja\AppData\Local\Temp\\PinotController
           at 
org.apache.pinot.controller.ControllerConf.getUriFromPath(ControllerConf.java:180)
           at 
org.apache.pinot.controller.api.resources.FileUploadPathProvider.<init>(FileUploadPathProvider.java:58)
           ... 26 more
   Caused by: java.net.URISyntaxException: Illegal character in opaque part at 
index 2: C:\Users\Pooja\AppData\Local\Temp\\PinotController
           at java.net.URI$Parser.fail(URI.java:2848)
           at java.net.URI$Parser.checkChars(URI.java:3021)
           at java.net.URI$Parser.parse(URI.java:3058)
           at java.net.URI.<init>(URI.java:588)
           at 
org.apache.pinot.controller.ControllerConf.getUriFromPath(ControllerConf.java:172)
           ... 27 more
   Exception in thread "main" 
org.apache.pinot.common.exception.HttpErrorStatusException: Got error status 
code: 500 (Internal Server Error) with reason: "Caught internal server 
exception while uploading segment" while sending request: 
http://172.16.17.239:9000/v2/segments to controller: Pooja-PC, version: 
0.2.0-SNAPSHOT-55f68ce0311cc28ee0fa29ef15f44b5526ed5b79
           at 
org.apache.pinot.common.utils.FileUploadDownloadClient.sendRequest(FileUploadDownloadClient.java:324)
           at 
org.apache.pinot.common.utils.FileUploadDownloadClient.uploadSegment(FileUploadDownloadClient.java:431)
           at 
org.apache.pinot.common.utils.FileUploadDownloadClient.uploadSegment(FileUploadDownloadClient.java:446)
           at 
org.apache.pinot.tools.admin.command.UploadSegmentCommand.execute(UploadSegmentCommand.java:130)
           at 
org.apache.pinot.tools.admin.command.QuickstartRunner.pushSegment(QuickstartRunner.java:191)
           at org.apache.pinot.tools.Quickstart.execute(Quickstart.java:169)
           at org.apache.pinot.tools.Quickstart.main(Quickstart.java:224)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to