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/04/01 17:38:55 UTC

[GitHub] [pulsar] Florentina55 opened a new issue #10123: Pulsar installation on Docker Windows 10

Florentina55 opened a new issue #10123:
URL: https://github.com/apache/pulsar/issues/10123


   Hi All, 
   
   I am new to Pulsar and would love to install Pulsar on Docker on my Windows 10. I was using the below code:
   
   `docker run -it -p 6650:6650 -p 8080:8080 --mount source=pulsardata,target=/pulsar/data --mount source=pulsarconf,target=/pulsar/conf apachepulsar/pulsar:latest bin/pulsar standalone`
   
   But on Windows PowerShell I get the below and the Request Log just goes on. Can anyone tell me what is the reason causing this and how can I fix this?
   
   > 17:25:24.491 [pulsar-client-io-81-1] INFO  org.apache.pulsar.client.impl.ProducerStatsRecorderImpl - Pulsar client config: {
   > 
   >   "serviceUrl" : "pulsar://localhost:6650",
   >   "authPluginClassName" : null,
   >   "operationTimeoutMs" : 30000,
   >   "statsIntervalSeconds" : 60,
   >   "numIoThreads" : 1,
   >   "numListenerThreads" : 1,
   >   "connectionsPerBroker" : 1,
   >   "useTcpNoDelay" : true,
   >   "useTls" : false,
   >   "tlsTrustCertsFilePath" : "",
   >   "tlsAllowInsecureConnection" : false,
   >   "tlsHostnameVerificationEnable" : false,
   >   "concurrentLookupRequest" : 5000,
   >   "maxLookupRequest" : 50000,
   >   "maxLookupRedirects" : 20,
   >   "maxNumberOfRejectedRequestPerConnection" : 50,
   >   "keepAliveIntervalSeconds" : 30,
   >   "connectionTimeoutMs" : 10000,
   >   "requestTimeoutMs" : 60000,
   >   "initialBackoffIntervalNanos" : 100000000,
   >   "maxBackoffIntervalNanos" : 60000000000,
   >   "listenerName" : null,
   >   "useKeyStoreTls" : false,
   >   "sslProvider" : null,
   >   "tlsTrustStoreType" : "JKS",
   >   "tlsTrustStorePath" : null,
   >   "tlsTrustStorePassword" : null,
   >   "tlsCiphers" : [ ],
   >   "tlsProtocols" : [ ],
   >   "proxyServiceUrl" : null,
   >   "proxyProtocol" : null,
   >   "enableTransaction" : false
   > }
   > 17:25:24.497 [pulsar-client-io-81-1] INFO  org.apache.pulsar.client.impl.ProducerImpl - [persistent://public/functions/metadata] [c-standalone-fw-localhost-8080-leader] Creating producer on cnx [id: 0x1ccc4b9e, L:/127.0.0.1:41838 - R:localhost/127.0.0.1:6650]
   > 17:25:24.498 [pulsar-io-50-7] INFO  org.apache.pulsar.broker.service.ServerCnx - [/127.0.0.1:41838][persistent://public/functions/metadata] Creating producer. producerId=1
   > 17:25:24.501 [ForkJoinPool.commonPool-worker-2] INFO  org.apache.pulsar.broker.service.ServerCnx - [/127.0.0.1:41838] persistent://public/functions/metadata configured with schema false
   > 17:25:24.511 [ForkJoinPool.commonPool-worker-2] INFO  org.apache.pulsar.broker.service.ServerCnx - [/127.0.0.1:41838] Created new producer: Producer{topic=PersistentTopic{topic=persistent://public/functions/metadata}, client=/127.0.0.1:41838, producerName=c-standalone-fw-localhost-8080-leader, producerId=1}
   > 17:25:24.533 [pulsar-client-io-81-1] INFO  org.apache.pulsar.client.impl.ProducerImpl - [persistent://public/functions/metadata] [c-standalone-fw-localhost-8080-leader] Created producer on cnx [id: 0x1ccc4b9e, L:/127.0.0.1:41838 - R:localhost/127.0.0.1:6650]
   > 17:25:25.528 [function-metadata-tailer-thread] INFO  org.apache.pulsar.client.impl.ConsumerImpl - [persistent://public/functions/metadata][c-standalone-fw-localhost-8080-function-metadata-tailer-reader-78c4bf20d7] Get topic last message Id
   > 17:25:25.530 [pulsar-client-io-81-1] INFO  org.apache.pulsar.client.impl.ConsumerImpl - [persistent://public/functions/metadata][c-standalone-fw-localhost-8080-function-metadata-tailer-reader-78c4bf20d7] Successfully getLastMessageId 77:-1
   > 17:25:25.530 [function-metadata-tailer-thread] INFO  org.apache.pulsar.functions.worker.FunctionMetaDataTopicTailer - metadata tailer thread exiting
   > 17:25:25.531 [pulsar-external-listener-82-1] INFO  org.apache.pulsar.functions.worker.FunctionMetaDataTopicTailer - Stopping function metadata tailer
   > 17:25:25.532 [pulsar-io-50-7] INFO  org.apache.pulsar.broker.service.ServerCnx - [/127.0.0.1:41838] Closing consumer: consumerId=4
   > 17:25:25.533 [pulsar-io-50-7] INFO  org.apache.pulsar.broker.service.AbstractDispatcherSingleActiveConsumer - Removing consumer Consumer{subscription=PersistentSubscription{topic=persistent://public/functions/metadata, name=c-standalone-fw-localhost-8080-function-metadata-tailer-reader-78c4bf20d7}, consumerId=4, consumerName=c-standalone-fw-localhost-8080-function-metadata-tailer, address=/127.0.0.1:41838}
   > 17:25:25.533 [pulsar-io-50-7] INFO  org.apache.pulsar.broker.service.persistent.PersistentSubscription - [persistent://public/functions/metadata][c-standalone-fw-localhost-8080-function-metadata-tailer-reader-78c4bf20d7] Successfully closed subscription [NonDurableCursorImpl{ledger=public/functions/persistent/metadata, ackPos=77:-1, readPos=77:0}]
   > 17:25:25.533 [pulsar-io-50-7] INFO  org.apache.pulsar.broker.service.persistent.PersistentSubscription - [persistent://public/functions/metadata][c-standalone-fw-localhost-8080-function-metadata-tailer-reader-78c4bf20d7] Successfully closed dispatcher for reader
   > 17:25:25.534 [pulsar-io-50-7] INFO  org.apache.pulsar.broker.service.ServerCnx - [/127.0.0.1:41838] Closed consumer, consumerId=4
   > 17:25:25.534 [pulsar-client-io-81-1] INFO  org.apache.pulsar.client.impl.ConsumerImpl - [persistent://public/functions/metadata] [c-standalone-fw-localhost-8080-function-metadata-tailer-reader-78c4bf20d7] Closed consumer
   > 17:25:25.534 [pulsar-external-listener-82-1] INFO  org.apache.pulsar.functions.worker.FunctionMetaDataTopicTailer - Stopped function metadata tailer
   > 17:25:25.534 [pulsar-external-listener-82-1] INFO  org.apache.pulsar.functions.worker.FunctionMetaDataManager - FunctionMetaDataManager done becoming leader
   > 17:25:25.585 [pulsar-web-68-3] INFO  org.eclipse.jetty.server.RequestLog - 127.0.0.1 - - [01/Apr/2021:17:25:25 +0000] "GET /admin/v2/persistent/public/functions/coordinate/stats?getPreciseBacklog=false&subscriptionBacklogSize=false HTTP/1.1" 200 1677 "-" "Pulsar-Java-v2.7.1" 33
   > 17:25:25.621 [worker-scheduler-0] INFO  org.apache.pulsar.functions.worker.SchedulerManager - Schedule summary - execution time: 0.0844986 sec | total unassigned: 0 | stats: {"Added": 0, "Updated": 0, "removed": 0}
   > {
   >   "c-standalone-fw-localhost-8080" : {
   >     "originalNumAssignments" : 0,
   >     "finalNumAssignments" : 0,
   >     "instancesAdded" : 0,
   >     "instancesRemoved" : 0,
   >     "instancesUpdated" : 0,
   >     "alive" : true
   >   }
   > }
   > 17:25:53.527 [pulsar-web-68-7] INFO  org.eclipse.jetty.server.RequestLog - 127.0.0.1 - - [01/Apr/2021:17:25:53 +0000] "GET /admin/v2/persistent/public/functions/coordinate/stats?getPreciseBacklog=false&subscriptionBacklogSize=false HTTP/1.1" 200 1677 "-" "Pulsar-Java-v2.7.1" 5
   > 17:26:08.247 [SyncThread-7-1] INFO  org.apache.bookkeeper.bookie.Journal - garbage collected journal 1788da38148.txn
   > 17:26:23.526 [pulsar-web-68-5] INFO  org.eclipse.jetty.server.RequestLog - 127.0.0.1 - - [01/Apr/2021:17:26:23 +0000] "GET /admin/v2/persistent/public/functions/coordinate/stats?getPreciseBacklog=false&subscriptionBacklogSize=false HTTP/1.1" 200 1677 "-" "Pulsar-Java-v2.7.1" 4
   > 17:26:53.526 [pulsar-web-68-1] INFO  org.eclipse.jetty.server.RequestLog - 127.0.0.1 - - [01/Apr/2021:17:26:53 +0000] "GET /admin/v2/persistent/public/functions/coordinate/stats?getPreciseBacklog=false&subscriptionBacklogSize=false HTTP/1.1" 200 1677 "-" "Pulsar-Java-v2.7.1" 4
   > 17:27:23.526 [pulsar-web-68-6] INFO  org.eclipse.jetty.server.RequestLog - 127.0.0.1 - - [01/Apr/2021:17:27:23 +0000] "GET /admin/v2/persistent/public/functions/coordinate/stats?getPreciseBacklog=false&subscriptionBacklogSize=false HTTP/1.1" 200 1677 "-" "Pulsar-Java-v2.7.1" 4
   > 17:27:53.526 [pulsar-web-68-3] INFO  org.eclipse.jetty.server.RequestLog - 127.0.0.1 - - [01/Apr/2021:17:27:53 +0000] "GET /admin/v2/persistent/public/functions/coordinate/stats?getPreciseBacklog=false&subscriptionBacklogSize=false HTTP/1.1" 200 1677 "-" "Pulsar-Java-v2.7.1" 4
   > 17:28:23.526 [pulsar-web-68-7] INFO  org.eclipse.jetty.server.RequestLog - 127.0.0.1 - - [01/Apr/2021:17:28:23 +0000] "GET /admin/v2/persistent/public/functions/coordinate/stats?getPreciseBacklog=false&subscriptionBacklogSize=false HTTP/1.1" 200 1677 "-" "Pulsar-Java-v2.7.1" 4
   > 17:28:53.527 [pulsar-web-68-8] INFO  org.eclipse.jetty.server.RequestLog - 127.0.0.1 - - [01/Apr/2021:17:28:53 +0000] "GET /admin/v2/persistent/public/functions/coordinate/stats?getPreciseBacklog=false&subscriptionBacklogSize=false HTTP/1.1" 200 1677 "-" "Pulsar-Java-v2.7.1" 5
   > 17:29:23.526 [pulsar-web-68-4] INFO  org.eclipse.jetty.server.RequestLog - 127.0.0.1 - - [01/Apr/2021:17:29:23 +0000] "GET /admin/v2/persistent/public/functions/coordinate/stats?getPreciseBacklog=false&subscriptionBacklogSize=false HTTP/1.1" 200 1677 "-" "Pulsar-Java-v2.7.1" 5
   > 17:29:53.526 [pulsar-web-68-5] INFO  org.eclipse.jetty.server.RequestLog - 127.0.0.1 - - [01/Apr/2021:17:29:53 +0000] "GET /admin/v2/persistent/public/functions/coordinate/stats?getPreciseBacklog=false&subscriptionBacklogSize=false HTTP/1.1" 200 1677 "-" "Pulsar-Java-v2.7.1" 4
   > 17:30:08.223 [GarbageCollectorThread-11-1] INFO  org.apache.bookkeeper.bookie.GarbageCollectorThread - Extracting entry log meta from entryLogId: 0
   > 17:30:08.225 [GarbageCollectorThread-11-1] INFO  org.apache.bookkeeper.bookie.EntryLogger - Failed to get ledgers map index from: 0.log : No ledgers map index found on entryLogId 0
   > 17:30:08.230 [GarbageCollectorThread-11-1] INFO  org.apache.bookkeeper.bookie.GarbageCollectorThread - Extracting entry log meta from entryLogId: 2
   > 17:30:08.230 [GarbageCollectorThread-11-1] INFO  org.apache.bookkeeper.bookie.EntryLogger - Failed to get ledgers map index from: 2.log : No ledgers map index found on entryLogId 2
   > 17:30:08.231 [GarbageCollectorThread-11-1] INFO  org.apache.bookkeeper.bookie.GarbageCollectorThread - Extracting entry log meta from entryLogId: 4
   > 17:30:08.231 [GarbageCollectorThread-11-1] INFO  org.apache.bookkeeper.bookie.EntryLogger - Failed to get ledgers map index from: 4.log : No ledgers map index found on entryLogId 4
   > 17:30:08.235 [GarbageCollectorThread-11-1] INFO  org.apache.bookkeeper.bookie.GarbageCollectorThread - Extracting entry log meta from entryLogId: 5
   > 17:30:08.237 [GarbageCollectorThread-11-1] INFO  org.apache.bookkeeper.bookie.EntryLogger - Failed to get ledgers map index from: 5.log : readerIndex(0) + length(4) exceeds writerIndex(0): UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeNoCleanerDirectByteBuf(ridx: 0, widx: 0, cap: 1024)
   > 17:30:08.237 [GarbageCollectorThread-11-1] INFO  org.apache.bookkeeper.bookie.GarbageCollectorThread - Extracting entry log meta from entryLogId: 6
   > 17:30:08.238 [GarbageCollectorThread-11-1] INFO  org.apache.bookkeeper.bookie.EntryLogger - Failed to get ledgers map index from: 6.log : No ledgers map index found on entryLogId 6
   > 17:30:08.240 [GarbageCollectorThread-11-1] INFO  org.apache.bookkeeper.bookie.GarbageCollectorThread - Extracting entry log meta from entryLogId: 7
   > 17:30:08.240 [GarbageCollectorThread-11-1] INFO  org.apache.bookkeeper.bookie.EntryLogger - Failed to get ledgers map index from: 7.log : readerIndex(0) + length(4) exceeds writerIndex(0): UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeNoCleanerDirectByteBuf(ridx: 0, widx: 0, cap: 1024)
   > 17:30:08.241 [GarbageCollectorThread-11-1] INFO  org.apache.bookkeeper.bookie.GarbageCollectorThread - Extracting entry log meta from entryLogId: 8
   > 17:30:08.241 [GarbageCollectorThread-11-1] INFO  org.apache.bookkeeper.bookie.EntryLogger - Failed to get ledgers map index from: 8.log : No ledgers map index found on entryLogId 8
   > 17:30:08.242 [GarbageCollectorThread-11-1] INFO  org.apache.bookkeeper.bookie.GarbageCollectorThread - Extracting entry log meta from entryLogId: 9
   > 17:30:08.243 [GarbageCollectorThread-11-1] INFO  org.apache.bookkeeper.bookie.EntryLogger - Failed to get ledgers map index from: 9.log : readerIndex(0) + length(4) exceeds writerIndex(0): UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeNoCleanerDirectByteBuf(ridx: 0, widx: 0, cap: 1024)
   > 17:30:08.243 [GarbageCollectorThread-11-1] INFO  org.apache.bookkeeper.bookie.GarbageCollectorThread - Extracting entry log meta from entryLogId: 10
   > 17:30:08.244 [GarbageCollectorThread-11-1] INFO  org.apache.bookkeeper.bookie.EntryLogger - Failed to get ledgers map index from: 10.log : No ledgers map index found on entryLogId 10
   > 17:30:08.244 [GarbageCollectorThread-11-1] INFO  org.apache.bookkeeper.bookie.GarbageCollectorThread - Extracting entry log meta from entryLogId: 11
   > 17:30:08.245 [GarbageCollectorThread-11-1] INFO  org.apache.bookkeeper.bookie.EntryLogger - Failed to get ledgers map index from: 11.log : readerIndex(0) + length(4) exceeds writerIndex(0): UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeNoCleanerDirectByteBuf(ridx: 0, widx: 0, cap: 1024)
   > 17:30:23.530 [pulsar-web-68-1] INFO  org.eclipse.jetty.server.RequestLog - 127.0.0.1 - - [01/Apr/2021:17:30:23 +0000] "GET /admin/v2/persistent/public/functions/coordinate/stats?getPreciseBacklog=false&subscriptionBacklogSize=false HTTP/1.1" 200 1677 "-" "Pulsar-Java-v2.7.1" 7
   > 


-- 
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:
users@infra.apache.org



[GitHub] [pulsar] codelipenghui commented on issue #10123: Pulsar installation on Docker Windows 10

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


   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