Member since
11-09-2016
68
Posts
16
Kudos Received
5
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2554 | 12-07-2017 06:32 PM | |
965 | 12-07-2017 06:29 PM | |
1583 | 12-01-2017 11:56 AM | |
9679 | 02-10-2017 08:55 AM | |
3098 | 01-23-2017 09:44 PM |
12-07-2017
06:32 PM
Is passwordless installed between the namenode and secondary namenode ( or standby if you are HA ) can you check in the namenode UI the checkpoints ?
... View more
12-07-2017
06:29 PM
Hi Michael Yes you can use Blueprints 1 - Export blueprints via API call ( GET /api/v1/clusters/:clusterName?format=blueprint ) 2- change the json document 3- Import again the new modified BluePrint json ( POST ... ) For more details about how to use blueprints, please check here
... View more
12-04-2017
04:27 PM
Oozie packages name looks wrong in the available ones, it's missing the version, try to install without Oozie first
... View more
12-01-2017
11:56 AM
Hi Mike yes, i have seen it once, the efs must be in the same Availability Zone ( if not, you may be charged for data transfer and have some perf degradation .. ) and i think the only downside is that it's network performance , it's less performant that having a local disk. i think it's ok if your use case permit , however if you are planning to use Hbase/Storm where latency is critical , i recommend you to do some benchmarking first.
... View more
12-01-2017
10:41 AM
kinit PRINCIPAL -kt /etc/security/keytabs/PRINCIPAL.keytab
hive --hiveconf hive.execution.engine=mr
SET hive.execution.engine=tez;
SET tez.queue.name=QUEUE_NAME;
use MON_SCHEMA;
select count(*) from TABLE where id =1;
By starting Hive CLI with mr, it open the terminal quickly than default, this is because it will not request for AM resource.
PS : Hive CLI is not recommended and must be deprecated in your production environment, check here for more info
... View more
Labels:
12-01-2017
10:31 AM
Complementary article to Hive CLI security to clarify the risk of using Hive CLI. Hive CLI ( or Hive shell ) is not recommended and Apache asked users to move to Beeline even if it's still supported by Hortonworks ( HDP2.6 ) Ranger Hive plugin does not enforce permissions for Hive CLI users however it doesn’t bypass systematically
“All” Ranger policies, it bypass only hive policies. This risk is therefore for all hive managed tables. ( ones under
/apps/hive/warehouse/ ) All external DB/Tables will still be protected by HDFS policies.
... View more
Labels:
12-01-2017
10:21 AM
2 Kudos
When hive.server2.enable.doAs=True , HiveServer2 performs the query processing as the user who submitted the query (usually the user you kinit with, it could be service account or an account assigned to a team ). But if the parameter is set to false, the query will run as the user that the hiveserver2 process runs as, mostly Hive This will help to : 1-Better control the users via Hive Ranger policies 2-Better control the ACLs mappings for Yarn, so you can assign every user on a specific Queue.
... View more
Labels:
08-07-2017
10:14 AM
Symtoms : NameNode HA states: active_namenodes =[], standby_namenodes =[], unknown_namenodes =[(u'nn1', Solution : Could be in order : 1) Ambari is doing the timeout ( 5 sec is default ) and killing the process if the NN takes long to start you can change the value of the timeout in /var/lib/ambari-server/resources/common-services/HDFS/vXXXX/package/scripts/hdfs_namenode.py From this: @retry(times=5, sleep_time=5, backoff_factor=2, err_class=Fail) To this: @retry(times=25, sleep_time=25, backoff_factor=2, err_class=Fail) if not enough to this: @retry(times=50, sleep_time=25, backoff_factor=2, err_class=Fail) 2) Could be the Zookeeper not getting the status of the NN for this you can try
Restart zookeeper, if it's still not working , then try the following Check the content of the Znode ( hadoop-ha ), save the namespace of the NN and delete the content and restart the NN
... View more
Labels:
08-07-2017
10:02 AM
If you would like NN1 to be active namenode, you can do it by stopping ZKFC of NN2 via ambari. After ~10 sec the failover should happend the the other NN become the active
... View more
Labels: