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

What is the best approach to load data into Hive using NiFi?
Structured streaming kafka driver relaunch fails with HDFS file rename errors since new name file already exists
Deploy spring-cloud-dataflow stream oracle2hdfs not well (ambari)
Data Visualization tool for large amount of data
Syntax error on incremental append with sqoop in putty
hdfs-mesos datanodes not running
Using HdfsSpout in Storm 1.0.2
Issues while running kafka connect in distributed mode
Error while type casting parquet data using Talend
tHDFSRename: file does not exist or no unique matching for current filemask
Streaming data from Twitter to HDFS command not working
Sqoop Import: Sqoop show import success, but HDFS don't have data
Does Seek time matter for HDFS hosted on SSDs?
Real time usecase scenarios of mvtolocal in HDFS
Delete the latest file in HDFS shell
clarification on HDFS replication

Categories

HOME
extjs
libgdx
macos-sierra
dry
plaid
magento-2.0
gallery
azure-data-lake
ipv6
firebase-dynamic-links
cdi
mailing-list
reportviewer
swarm
clickable-image
hystrix
sap-fiori
rangy
vimeo
smooks
mailmerge
sslhandshakeexception
twisted
word2vec
infrared
bsd
pst
introspection
xdebug
clipboard
ruby-daemons
onchange
ccavenue
iwebbrowser2
bobo-browse.net
spring-annotations
laravel-4.2
vcenter
snap-framework
john-the-ripper
custom-keyboard
aurelia-cli
llvm-ir
hdiv
secure-coding
web-inspector
reverse-dns
react-intl
kitura
sonarqube5.2
directwrite
django-static-precompiler
knockout-2.0
sonicmq
node-apn
patternlab.io
kendo-editor
apache-modules
mechanicalturk
allegro
gapi
controllers
tablespace
openquery
wininet
openseadragon
wolfram-language
taco
univocity
gdl
json-spirit
perceptron
google-maps-api-2
fanotify
asp.net-web-api-helppages
sqlbase
blockquote
bootstrap-wysiwyg
abstract-factory
baseadapter
flurry-analytics
lmax
squeezebox
stripe.net
.htpasswd
meteor-collections
usb-flash-drive
sensormanager
frontbase
unrealscript
stty
xs
days
ntlmv2
session-0-isolation
red-system
ckeditor.net
multiscaleimage
xcode4.5
story
zotonic
kolite
infopath-2007
fork-join
kext
mediacontroller
upshot
css-friendly
webresponse
aggregator

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App