Member since
01-19-2017
3676
Posts
632
Kudos Received
372
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 616 | 06-04-2025 11:36 PM | |
| 1182 | 03-23-2025 05:23 AM | |
| 585 | 03-17-2025 10:18 AM | |
| 2192 | 03-05-2025 01:34 PM | |
| 1376 | 03-03-2025 01:09 PM |
12-18-2017
07:39 AM
1 Kudo
@chandramouli muthukumaran You opened a thread "Connection failed: [Errno 111] Connection refused to" to which you received a couple of responses from me and Ashnee Sharma it's a good habit to acknowledge whether a solution resolved your issue so other members facing the same situation could use the solution. Can you do the right thing because members strive to help in return they expect a response.
... View more
12-16-2017
08:42 AM
@Abhishek Reddy Chamakura Can you share the document you are using this cluster install, maybe I could see something that you aint't seeing 🙂 Are you using a satellite server for repos? Can you share the contents of your ambari,hdp and hdp-utils.repos?? I usually don't like to leave an issue un resolved!!
... View more
12-15-2017
11:39 PM
@Abhishek Reddy Chamakura The installation was successful at the end, so there should be something definitely wrong with either your OS or packages Enjoy!!!
... View more
12-15-2017
11:35 PM
@Abhishek Reddy Chamakura I have just completed a single node installation with your current Ambari /HDP versions. All went successfully I have attached the documentation and screenshots of the cluster creation. Unfortunately, we usually, ignore obvious steps that can cost us time and frustration, please validate my steps against yours. I used the Mysql database and not the embedded Postgres for Ambari, hive, oozie, and ranger backend DB's.
... View more
12-15-2017
06:49 PM
@Abhishek Reddy Chamakura Can you tell me the Type and OS version, I want to quickly reproduce your steps with Ambari 2.5.0.3 and HDP-2.3.4.0 175 can you maybe send the links you used for the downloads.
... View more
12-14-2017
10:30 PM
@Abhishek Reddy Chamakura Could you run these 4 commands on the Ambari server, is there a specific reason that you are installing an old HDP 2.3 version when you have HDP 2.6 # yum erase ambari-server # yum clean all # yum repolist # yum install -y ambari-server Please revert
... View more
12-12-2017
01:31 PM
@Mudassar Hussain Assuming no Kerberos but you want your user to access the HDP cluster ,usually, the local users are on the edgenode. To apply HDFS ACL the local user should have a home in hdfs Create a local user on edge node here my user toto doesn't belong to any group for demo purposes. # useradd toto Before you can implement HDFS acl's you MUST add the below property in hdfs-site.xml or custom-hdfs-site in the namenode the default value is false, then restart the all the stale configs dfs.namenode.acls.enabled=true As the HDFS user create a directory acldemo in toto user home in HDFS $ hdfs dfs -mkdir /user/toto/acldemo As HDFS user change the ownership $hdfs dfs -chown toto:hdfs /user/toto/acldemo created 3 dummy files and copied then to hdfs $ hdfs dfs -put test2.txt test3.json test.txt /user/toto/acldemo Validate the copy process $ hdfs dfs -ls /user/toto/acldemo
-rw-r--r-- 3 hdfs hdfs 0 2017-12-12 13:38 /user/toto/acldemo/test.txt
-rw-r--r-- 3 hdfs hdfs 0 2017-12-12 13:38 /user/toto/acldemo/test2.txt
-rw-r--r-- 3 hdfs hdfs 0 2017-12-12 13:38 /user/toto/acldemo/test3.json Set ACL on the directory acldemo for different users namely toto,hive,kafka to see all the subcommands type hdfs dfs and hit ENTER user toto has RWX $ hdfs dfs -setfacl -m user:toto:--- /user/toto/acldemo User hive has Read Write $ hdfs dfs -setfacl -m user:hive:rwx /user/toto/acldemo User Kafka has only READ $ hdfs dfs -setfacl -m user:kafka:r-x /user/toto/acldemo To check the current ACL's $ hdfs dfs -getfacl /user/toto/acldemo
# file: /user/toto/acldemo
# owner: toto
# group: hdfs
user::rwx
user:hive:rwx
user:kafka:r-x
user:toto:---
group::r-x
mask::rwx
other::r-x
Now to check whether the permissions work For user Kafka he can read but NOT copy any files to [kafka@host]$ hdfs dfs -put kafak.txt /user/toto/acldemo
put: Permission denied: user=kafka, access=WRITE, inode="/user/toto/acldemo/kafak.txt._COPYING_":toto:hdfs:drwxrwxr-x
[kafka@host ~]$ hdfs dfs -cat /user/toto/acldemo/test.txt
If you can read me then you have the correct permisions
User toto has no permissions !! [toto@host]$ hdfs dfs -cat /user/toto/acldemo/test.txt cat: Permission denied: user=toto, access=EXECUTE, inode="/user/toto/acldemo/test.txt":toto:hdfs:drwxrwxr-x For user hive exit code 0 "success" because it can read the contents of the text.txt file in hdfs [hive@host]$ hdfs dfs -cat /user/toto/acldemo/test.txt
If you can read me then you have the correct permisions
To know whether a directory has ACL's notice the + sign on the last bit $ hdfs dfs -ls /user/toto/
Found 1 items
drwxrwxr-x+ - hdfs hdfs 0 2017-12-12 14:15 /user/toto/acldemo Hope that helps
... View more