garystafford opened a new issue #4524:
URL: https://github.com/apache/hudi/issues/4524


   **Describe the problem you faced**
   
   In the current instructions for the [Kafka Connect Sink for 
Hudi](https://github.com/apache/hudi/blob/master/hudi-kafka-connect/README.md), 
the command, `confluentinc-kafka-connect-hdfs-10.1.0/* 
/usr/local/share/kafka/plugins/` is incorrect. I believe it should be `cp 
confluentinc-kafka-connect-hdfs-10.1.0/lib/* 
/usr/local/share/kafka/plugins/lib`, per Ethan Guo. The current command results 
in the following error:
   
   ```
   cp: omitting directory 'confluentinc-kafka-connect-hdfs-10.1.0/assets'
   cp: omitting directory 'confluentinc-kafka-connect-hdfs-10.1.0/doc'
   cp: omitting directory 'confluentinc-kafka-connect-hdfs-10.1.0/etc'
   cp: omitting directory 'confluentinc-kafka-connect-hdfs-10.1.0/lib'
   ```
   
   **To Reproduce**
   
   Steps to reproduce the behavior:
   
   1. Enter the command in the README: `cp 
confluentinc-kafka-connect-hdfs-10.1.0/* /usr/local/share/kafka/plugins/`
   
   **Expected behavior**
   
   The command works and JARs in the `lib` directory are copied to the 
appropriate directory.
   
   **Environment Description**
   
   * Hudi version : N/A
   
   * Spark version : N/A
   
   * Hive version : N/A
   
   * Hadoop version : N/A
   
   * Storage (HDFS/S3/GCS..) : N/A
   
   * Running on Docker? (yes/no) : no
   
   
   **Additional context**
   
   None.
   
   **Stacktrace**
   
   ```
   cp: omitting directory 'confluentinc-kafka-connect-hdfs-10.1.0/assets'
   cp: omitting directory 'confluentinc-kafka-connect-hdfs-10.1.0/doc'
   cp: omitting directory 'confluentinc-kafka-connect-hdfs-10.1.0/etc'
   cp: omitting directory 'confluentinc-kafka-connect-hdfs-10.1.0/lib'
   ```
   
   


-- 
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-unsubscr...@hudi.apache.org

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


Reply via email to