Member since
09-18-2015
3274
Posts
1159
Kudos Received
426
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2689 | 11-01-2016 05:43 PM | |
| 9105 | 11-01-2016 05:36 PM | |
| 5027 | 07-01-2016 03:20 PM | |
| 8429 | 05-25-2016 11:36 AM | |
| 4603 | 05-24-2016 05:27 PM |
02-24-2016
05:57 AM
1 Kudo
@rich
... View more
02-24-2016
04:39 AM
1 Kudo
@Kiran Bollam Why do you want to export into localFS? I doubt if local FS will work. If you want to get data from HDFS then follow this
... View more
02-24-2016
04:15 AM
@Prakash Punj Perfect! Please accept the answer to close the thread.
... View more
02-24-2016
03:08 AM
@Prakash Punj Run this ambari-server setup --jdbc-db=postgres --jdbc-driver=/usr/share/java/postgresql-jdbc.jar [root@phdns01 java]# ambari-server setup --jdbc-db=postgres --jdbc-driver=/usr/share/java/postgresql-jdbc.jar Using python /usr/bin/python2 Setup ambari-server Copying /usr/share/java/postgresql-jdbc.jar to /var/lib/ambari-server/resources JDBC driver was successfully initialized. Ambari Server 'setup' completed successfully. [root@phdns01 java]# then http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_Ranger_Install_Guide/content/ranger_admin_settings.html http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_Ranger_Install_Guide/content/ch03s01.html Ranger install will create all the tables and user.
... View more
02-24-2016
02:24 AM
HDFS space quota https://hadoop.apache.org/docs/r2.7.2/hadoop-project-dist/hadoop-hdfs/HdfsQuotaAdminGuide.html http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.0.0/bk_Ambari_Admin_Guide/content/_managing_users_and_groups.html @Prakash Punj
... View more
02-24-2016
02:23 AM
@Prakash Punj
Restrict their access only to a folder in HDFS HDFS + Ranger I donnot want a regular user to see any other folder when they go to HDFS browser, Currently a user can view all the folders Ranger and HDFS I want to restrict them to upload no more than 20gb HDFS space quota Is it a good practice to create a file/hive/pig view instance for every user ? Can I create just one general HDFS / Hive browser and have users upload data in their folder only. No. You can create user in ambari and restrict access to user/groups "Group is good practice" HDFS All this can be done using https://community.hortonworks.com/content/kbentry/10235/apache-ranger-and-hdfs.html
... View more
02-24-2016
02:01 AM
1 Kudo
@li zhen No..entries related to error. I see this but need to check if there is more information
Error starting HiveServer2 on attempt 1, will retryin60 seconds java.lang.NoSuchMethodError: org.apache.curator.utils.PathUtils.validatePath(Ljava/lang/String;)Ljava/lang/String;
... View more
02-24-2016
01:52 AM
@Sunile Manjee See this Demo my_ns1:my_table - demouser can access it hbase(main):005:0> scan "my_ns1:my_table" ROW COLUMN+CELL 0 row(s) in 0.0340 seconds hbase(main):006:0> I removed demouser in policy hbase(main):006:0> scan "my_ns1:my_table" ROW COLUMN+CELL ERROR: org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient permissions for user ‘demouser',action: scannerOpen, tableName:my_ns1:my_table, family:fam. Here is some help for this command:
... View more
02-24-2016
01:51 AM
@Sunile Manjee Demo my_ns1:my_table - demouser can access it
hbase(main):005:0> scan "my_ns1:my_table" ROW COLUMN+CELL 0 row(s) in 0.0340 seconds hbase(main):006:0> I removed demouser in policy hbase(main):006:0> scan "my_ns1:my_table" ROW COLUMN+CELL ERROR: org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient permissions for user ‘demouser',action: scannerOpen, tableName:my_ns1:my_table, family:fam. Here is some help for this command:
... View more