./bin/hdfs dfs -put ./etc/hadoop/*.xml input
时间: 2023-09-21 13:05:45 浏览: 130
As an AI language model, I don't have access to your local file system or Hadoop cluster. However, I can explain the meaning of the command you have provided.
The command "./bin/hdfs dfs -put ./etc/hadoop/*.xml input" is used to copy all the XML files located in the "./etc/hadoop/" directory to the "input" directory in HDFS (Hadoop Distributed File System).
Here is the breakdown of the command:
- "./bin/hdfs": This specifies the path to the Hadoop Distributed File System command-line interface binary file.
- "dfs": This is the subcommand used to interact with the HDFS.
- "-put": This is the command used to copy files from the local file system to HDFS.
- "./etc/hadoop/*.xml": This specifies the path to all the XML files located in the "./etc/hadoop/" directory. The "*" character is used to match any file name with the ".xml" extension.
- "input": This specifies the destination directory in HDFS where the files will be copied to.
阅读全文