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/05/08 10:17:17 UTC

[GitHub] [pulsar] Hanfee commented on issue #10514: pulsar-io-hdfs connect hdfs error

Hanfee commented on issue #10514:
URL: https://github.com/apache/pulsar/issues/10514#issuecomment-835269284


   I execute a cmd :
   `./bin/pulsar-admin sinks localrun \
   --archive ./connectors/pulsar-io-hdfs2-2.7.1.nar \
   --classname org.apache.pulsar.io.hdfs2.sink.text.HdfsStringSink \
   --name hdfs2 \
   --tenant public \
   --namespace safe \
   --inputs persistent://public/safe/my-topic \
   --sink-config-file ./usr/conf/hdfsSinkConfig.yaml \
   --parallelism 1`
   
   hdfsSinkConfig.yaml 
   `configs:
       hdfsConfigResources: "/home/hdp-safe-heimdallr/pulsar/apache-pulsar-2.7.1/usr/conf/core-site.xml,/home/hdp-safe-heimdallr/pulsar/apache-pulsar-2.7.1/usr/conf/hdfs-site.xml"
       directory: "hdfs:///home/test/pulsar"
       filenamePrefix: "prefix"
       fileExtension: ".log"
       compression: "SNAPPY"
       subdirectoryPattern: "yyyy-MM-dd"`


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