HBase does not run after ./start-hbase.sh - Permission Denied?
you say the output of ls -l start-hbase.sh is :
-rwxr-xr-x 1 root root 1872 huhti 4 2013 start-hbase.sh
if you want to know what user and group you are logging with , there us simple way:
touch test
ls -l test
and check user:group ...
the problem is user owner and group owner of script..
you have two solutions:
1) sudo chown hduser:hduser start-hbase.sh #here hduser is example...you should know what user and group you have,,,
inorder to make it your slave...with executable state(sudo chmod +x start-hbase.sh
)
2) you can be root by: "su root" or "sudo su" or "sudo bash"
and then execute the script...
./start-hbase.sh is not starting on stand alone
chmod 777 ./start-hbase.sh
to allow r/w access for all users.
chmod +x ./start-hbase.sh
to make the script executable.
Why I'm getting Permission denied error HADOOP? And Why I'm unbale to import .csv file?
Your error tells exactly the problem. You're currently the Cloudera user. The folder is owned by hbase user and doesn't allow other users to write - inode="/hbase":hbase:supergroup:drwxr-xr-x
The permissions are for HDFS, not your local filesystem.
Run sudo su - hbase
first before you can put data into the /hbase
HDFS path, and no, hdfs:///etc
doesn't exist at all, by default
Beyond that, I don't think putting files directly into the Hbase data path is the proper way to actually store them. Your syntax errors are because you're putting unquoted, spaced items in the value for -Dimporttsv.columns
, so the command is interpreting them as separate arguments. Also, the HDFS path for your user files to import would be /user/cloudera
, not /home/cloudera
Related Topics
Reading Kernel Memory Using a Module
Linux - Mapping User Space Memory in Kernel Code
How to Use Sysfs Inside Kernel Module
How to Create a File in Assembly with a Dynamically Specified File Path
How to Generic .Htaccess to Prevent Hotlink
Raspberry-Pi Docker Error: Standard_Init_Linux.Go:178: Exec User Process Caused "Exec Format Error"
Docker Container Size Much Greater Than Actual Size
How to Turn a Regular File into a Symlink on Linux
How to Clear Docker Task History
Sort a File Based on a Column in Another File
Sed to Loop Through File and Replace Placeholder Variables
How to Lock The Cursor to The Inside of a Window on Linux
Where The Structure "Struct Page" Is Stored on The Linux Kernel
Why Isn't Git Bash Transforming The Path to *Nix Notation for My Python Installation
How to Store Result of Diff in Linux