hdfs


`hdfs dfs -put` command is not executing properly in HDFS


I am trying to execute the following command. However, an error saying unknown command is returned.
hdfs dfs -put /home/cloudera/testfile1 /user/cloudera/input
I have already created the /user/cloudera/input directory correctly.
Looks like Hadoop installation directory is not in your PATH.
Try doing this and see if it works:
#Update $HOME/.bashrc
# Set Hadoop-related environment variables
export HADOOP_HOME=<Put your HADOOP_HOME_DIR_PATH here>
# Add Hadoop bin/ directory to PATH
export PATH=$PATH:$HADOOP_HOME/bin
ref

Related Links

Run HDFS command as EMR Step
Sqoop --boundary-query
Which node in HDFS to request data?
`hdfs dfs -put` command is not executing properly in HDFS
In what scenarios does HDFS use zookeeper service?
import mysql data into hdfs contents file not read CCA
sqoop import in parquet format _success doesn't get generated
How to avoid creating empty partitions in hdfs (Streaming Data using Spark)
Using load balancer for HttpFS in HDFS
What's the difference between Hadoop webhdfs and Azure webhdfs
How to list members of superusergroup in hadoop?
Unable to copy from local file system to hdfs
Vertica Parquet format
how to get/ view metadata from namenode in hadoop?
What is the role of JobTracker and TaskTracker in reading and writing the file in HDFS?
HDFS Sequencing small files dynamicaly

Categories

HOME
yaml
android-fragments
applescript
whmcs
semantic-web
mirc
google-webmaster-tools
azure-mobile-services
angular2-template
lc3
squirrel-sql
heap-dump
uima
asciimath
android-contacts
tfsbuild
home
wsf
gitkraken
hdl
fido-u2f
exchange-server-2010
animated-gif
pubxml
password-generator
sfml
sales
dnsmasq
d3.js-v4
universal
rspec-rails
om-next
xvfb
task-parallel-library
data-uri
system-on-chip
flipkart
bit-shift
gcal
skip-lists
simple-schema
nslayoutconstraint
apache-modules
email-injection
allegro
scheduledexecutorservice
yui3
jsonix
raw-sockets
xcode8-beta4
dpkg
fragmentstatepageradapter
gwt-syncproxy
ruby-on-rails-4.1
netdatacontractserializer
darwin
bootstrap-wysiwyg
fat32
phonegap-facebook-plugin
cakephp-2.2
visual-studio-6
loginview
distributed-r
nachos
sql-function
boolean-algebra
compiler-flags
colon
non-ascii-characters
yii-booster
codahale-metrics
notin
popup-blocker
border-box
image-scanner
netstream
canonicalization
3des
mongrel
.net-services
rational-unified-process
processors

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App