Member since
09-24-2015
178
Posts
113
Kudos Received
28
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
3400 | 05-25-2016 02:39 AM | |
3622 | 05-03-2016 01:27 PM | |
842 | 04-26-2016 07:59 PM | |
14451 | 03-24-2016 04:10 PM | |
2075 | 02-02-2016 11:50 PM |
01-07-2016
06:40 PM
7 Kudos
In event there is an error while executing any oozie action during a workflow processing, those root cause errors are wrapped within an Oozie error and some times you have to dig a little deeper to find the root cause of the issue. Once you look in the right place (screen/log) the error gives a direct indication of what the issue is but that error is buried a couple of layers below the Oozie UI. Follow these steps to get more details on Oozie issues - 1) Open Oozie UI 2) Locate the job instance that failed and double click on it 3) Locate the step that failed and double click on it 4) From the Action pop-up, (which also has the cryptic error message in Error Message) click on the small magnifying glass on the right hand side of the Console URL. 5) From the next screen, click on the link that reads "logs" and view the details. (TBD - Add Screen snapshot)
... View more
Labels:
01-01-2016
02:09 AM
Good call Vladimir. mkdir: Permission denied: user=yarn, access=WRITE, inode="/user/ambari-qa/falcon/demo/primary/input/enron/2015-12-30-01":ambari-qa:hdfs:drwxr-xr-x
I executed the job from falcon using ambari-qa. Is there any configuration I can change so it uses the user ambari-qa during execution?
... View more
07-14-2016
03:22 PM
I tried those, but got errors trying to run the example programs. More here: https://community.hortonworks.com/content/kbentry/8452/running-r-program-on-hdp.html
... View more
12-30-2015
05:44 PM
Currently we don't provide a MIB so users can choose to organize their structure in any way they want. Moving forward in Ambari's future, we may provide an Apache MIB. I believe thats what the ticket, that you referenced, was opened for (along with the patch, README and other inform necessary for the implementation) : https://issues.apache.org/jira/browse/AMBARI-1320.. Today, we use a single OID for all of Alerts, and the body of the trap looks like this: 2015-07-22 13:28:41 0.0.0.0(via UDP: [172.16.204.221]:41891->[172.16.204.221]) TRAP, SNMP v1, community public
SNMPv2-SMI::zeroDotZero Cold Start Trap (0) Uptime: 0:00:00.00
SNMPv2-MIB::snmpTrapOID.0 = OID: IF-MIB::linkUp
IF-MIB::linkUp = STRING: "
[Alert] NameNode Last Checkpoint
[Service] HDFS
[Component] NAMENODE
[Host] revo2.hortonworks.local
Last Checkpoint: [0 hours, 43 minutes, 44 transactions]
" IF-MIB::linkUp = STRING: "
[OK] NameNode Last Checkpoint
Hope this helps!
... View more
01-04-2016
02:07 PM
Dear Grace, We can start with this template and improve it : #!/bin/bash kinit ...... hdfs dfs -rm -r hdfs://.... sqoop import --connect "jdbc:sqlserver://....:1433;username=.....;password=….;database=....DB" --table ..... \ -m 1 --where "...... > 0" CR=$? if [ $CR -ne 0 ]; then echo 'Sqoop job failed' exit 1 fi hdfs dfs -cat hdfs://...../* > export_fs_table.txt CR=$? if [ $CR -ne 0 ]; then echo 'hdfs cat failed' exit 1 fi while IFS=',' read -r id tablename nbr flag; do sqoop import --connect "jdbc:sqlserver://......:1433;username=......;password=......;database=.......DB" --table $tablename CR=$? if [ $CR -ne 0 ]; then echo 'sqoop import failed for '$tablename exit 1 fi done < export_fs_table.txt Kind regards
... View more
12-31-2015
03:04 AM
Just to add to that.. if you want to make change, it would be easier for you to follow the code by looking at the source here - https://github.com/apache/ambari/ The ui code is here - https://github.com/apache/ambari/tree/trunk/ambari-web/app You can just fork the project and build it after making changes.
... View more
12-31-2015
02:12 PM
@Hefei Li Great! Can you accept the answer then so we can close this question and others having similar issue get benefited?
... View more
03-09-2017
01:55 PM
Hi, I am having similar issue with falcon replication not working. The permissions, ownership, oozie wildcard are all as per this page in my environment. But still replication is not going through. Any insights?
... View more