You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/09/03 08:49:33 UTC

[GitHub] [pulsar] tuhao1020 opened a new issue #11911: Need docs for building pulsar from source and run on windows

tuhao1020 opened a new issue #11911:
URL: https://github.com/apache/pulsar/issues/11911


   I have exec `mvn clean install -DskipTests` on windows, but `bin/pulsar` is still a shell script for linux.
   What is the right way to build and run it on windows?


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] github-actions[bot] commented on issue #11911: Need docs for building pulsar from source and run on windows

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #11911:
URL: https://github.com/apache/pulsar/issues/11911#issuecomment-1058752245


   The issue had no activity for 30 days, mark with Stale label.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] BewareMyPower commented on issue #11911: Need docs for building pulsar from source and run on windows

Posted by GitBox <gi...@apache.org>.
BewareMyPower commented on issue #11911:
URL: https://github.com/apache/pulsar/issues/11911#issuecomment-913363682


   > Is the Failed to collect GC stats error serious?
   It's not reproducible in my env (macOS). But it's not a serious for standalone mode because Pulsar standalone is mainly for tests.
   
   > Are there any plans to provide official scripts on Windows?
   AFAIK the answer is no.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] tuhao1020 commented on issue #11911: Need docs for building pulsar from source and run on windows

Posted by GitBox <gi...@apache.org>.
tuhao1020 commented on issue #11911:
URL: https://github.com/apache/pulsar/issues/11911#issuecomment-913316767


   Is the `Failed to collect GC stats` error serious? 
   Are there any plans to provide official scripts on Windows? @BewareMyPower


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] tuhao1020 edited a comment on issue #11911: Need docs for building pulsar from source and run on windows

Posted by GitBox <gi...@apache.org>.
tuhao1020 edited a comment on issue #11911:
URL: https://github.com/apache/pulsar/issues/11911#issuecomment-912452011


   I changed some code in  `bin/pulsar` and use a bash environment to run it,the command line parameters for `bin/pulsar standalone` is:
   ```
   java -Dlog4j.shutdownHookEnabled=false -cp d:/apache-pulsar-2.8.0/conf;d:/apache-pulsar-2.8.0/lib/* -Dlog4j.configurationFile=log4j2.yaml -Djute.maxbuffer=10485760 -Djava.net.preferIPv4Stack=true -Dpulsar.allocator.exit_on_oom=true -Dio.netty.recycler.maxCapacity.default=1000 -Dio.netty.recycler.linkCapacity=1024 -Xms512m -Xmx512m -XX:MaxDirectMemorySize=1g -XX:+UseG1GC -XX:MaxGCPauseMillis=10 -XX:+ParallelRefProcEnabled -XX:+UnlockExperimentalVMOptions -XX:+DoEscapeAnalysis -XX:ParallelGCThreads=32 -XX:ConcGCThreads=32 -XX:G1NewSizePercent=50 -XX:+DisableExplicitGC -XX:-ResizePLAB -Dpulsar.log.appender=RoutingAppender -Dpulsar.log.dir=d:/apache-pulsar-2.8.0/logs -Dpulsar.log.level=info -Dpulsar.log.root.level=info -Dpulsar.routing.appender.default=Console -Dlog4j2.is.webapp=false -Dpulsar.functions.process.container.log.dir=d:/apache-pulsar-2.8.0/logs -Dpulsar.functions.java.instance.jar=d:/apache-pulsar-2.8.0/instances/java-instance.jar -Dpulsar.functions.python.instance.file=d:
 /apache-pulsar-2.8.0/instances/python-instance/python_instance_main.py -Dpulsar.functions.extra.dependencies.dir=d:/apache-pulsar-2.8.0/instances/deps -Dpulsar.functions.instance.classpath=d:/apache-pulsar-2.8.0/conf;d:/apache-pulsar-2.8.0/lib/* -Dpulsar.functions.log.conf=d:/apache-pulsar-2.8.0/conf/functions_log4j2.xml -Dzookeeper.4lw.commands.whitelist=* -Dzookeeper.snapshot.trust.empty=true -Dpulsar.log.file=pulsar-standalone.log org.apache.pulsar.PulsarStandaloneStarter --config d:/apache-pulsar-2.8.0/conf/standalone.conf
   ```
   
   
   then got some errors:
   
   ```
    ERROR org.apache.bookkeeper.clients.impl.internal.RootRangeClientImplWithRetries - Reason for the failure {}
   io.grpc.StatusRuntimeException: NOT_FOUND
           at io.grpc.StatusRuntimeException.fillInStackTrace(StatusRuntimeException.java:68) ~[io.grpc-grpc-api-1.33.0.jar:1.33.0]
           at io.grpc.StatusRuntimeException.<init>(StatusRuntimeException.java:58) ~[io.grpc-grpc-api-1.33.0.jar:1.33.0]
           at io.grpc.StatusRuntimeException.<init>(StatusRuntimeException.java:50) ~[io.grpc-grpc-api-1.33.0.jar:1.33.0]
           at io.grpc.Status.asRuntimeException(Status.java:533) ~[io.grpc-grpc-api-1.33.0.jar:1.33.0]
           at io.grpc.stub.ClientCalls$UnaryStreamToFuture.onClose(ClientCalls.java:533) ~[io.grpc-grpc-stub-1.33.0.jar:1.33.0]
           at io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:616) ~[io.grpc-grpc-core-1.33.0.jar:1.33.0]
           at io.grpc.internal.ClientCallImpl.access$300(ClientCallImpl.java:69) ~[io.grpc-grpc-core-1.33.0.jar:1.33.0]
           at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInternal(ClientCallImpl.java:802) ~[io.grpc-grpc-core-1.33.0.jar:1.33.0]
           at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:781) ~[io.grpc-grpc-core-1.33.0.jar:1.33.0]
           at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37) ~[io.grpc-grpc-core-1.33.0.jar:1.33.0]
           at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123) ~[io.grpc-grpc-core-1.33.0.jar:1.33.0]
           at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_275]
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_275]
           at java.lang.Thread.run(Thread.java:823) [?:1.8.0_275]
   ......
   
   ERROR org.apache.pulsar.common.stats.JvmG1GCMetricsLogger - Failed to collect GC stats: java.lang:type=GarbageCollector,name=G1 Young Generation
   ```


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] tuhao1020 commented on issue #11911: Need docs for building pulsar from source and run on windows

Posted by GitBox <gi...@apache.org>.
tuhao1020 commented on issue #11911:
URL: https://github.com/apache/pulsar/issues/11911#issuecomment-913276168


   same issue: #11926 


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] tuhao1020 commented on issue #11911: Need docs for building pulsar from source and run on windows

Posted by GitBox <gi...@apache.org>.
tuhao1020 commented on issue #11911:
URL: https://github.com/apache/pulsar/issues/11911#issuecomment-912452011


   I changed some code in  `bin/pulsar` and use a bash environment to run it,  then got some errors:
   
   ```
    ERROR org.apache.bookkeeper.clients.impl.internal.RootRangeClientImplWithRetries - Reason for the failure {}
   io.grpc.StatusRuntimeException: NOT_FOUND
           at io.grpc.StatusRuntimeException.fillInStackTrace(StatusRuntimeException.java:68) ~[io.grpc-grpc-api-1.33.0.jar:1.33.0]
           at io.grpc.StatusRuntimeException.<init>(StatusRuntimeException.java:58) ~[io.grpc-grpc-api-1.33.0.jar:1.33.0]
           at io.grpc.StatusRuntimeException.<init>(StatusRuntimeException.java:50) ~[io.grpc-grpc-api-1.33.0.jar:1.33.0]
           at io.grpc.Status.asRuntimeException(Status.java:533) ~[io.grpc-grpc-api-1.33.0.jar:1.33.0]
           at io.grpc.stub.ClientCalls$UnaryStreamToFuture.onClose(ClientCalls.java:533) ~[io.grpc-grpc-stub-1.33.0.jar:1.33.0]
           at io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:616) ~[io.grpc-grpc-core-1.33.0.jar:1.33.0]
           at io.grpc.internal.ClientCallImpl.access$300(ClientCallImpl.java:69) ~[io.grpc-grpc-core-1.33.0.jar:1.33.0]
           at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInternal(ClientCallImpl.java:802) ~[io.grpc-grpc-core-1.33.0.jar:1.33.0]
           at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:781) ~[io.grpc-grpc-core-1.33.0.jar:1.33.0]
           at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37) ~[io.grpc-grpc-core-1.33.0.jar:1.33.0]
           at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123) ~[io.grpc-grpc-core-1.33.0.jar:1.33.0]
           at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_275]
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_275]
           at java.lang.Thread.run(Thread.java:823) [?:1.8.0_275]
   ......
   
   ERROR org.apache.pulsar.common.stats.JvmG1GCMetricsLogger - Failed to collect GC stats: java.lang:type=GarbageCollector,name=G1 Young Generation
   ```


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] BewareMyPower commented on issue #11911: Need docs for building pulsar from source and run on windows

Posted by GitBox <gi...@apache.org>.
BewareMyPower commented on issue #11911:
URL: https://github.com/apache/pulsar/issues/11911#issuecomment-913312652


   ```
    ERROR org.apache.bookkeeper.clients.impl.internal.RootRangeClientImplWithRetries - Reason for the failure {}
   io.grpc.StatusRuntimeException: NOT_FOUND
   ```
   
   You can ignore this error.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] BewareMyPower edited a comment on issue #11911: Need docs for building pulsar from source and run on windows

Posted by GitBox <gi...@apache.org>.
BewareMyPower edited a comment on issue #11911:
URL: https://github.com/apache/pulsar/issues/11911#issuecomment-913363682


   > Is the Failed to collect GC stats error serious?
   
   It's not reproducible in my env (macOS). But it's not a serious for standalone mode because Pulsar standalone is mainly for tests.
   
   > Are there any plans to provide official scripts on Windows?
   
   AFAIK the answer is no.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org