Member since
04-03-2019
962
Posts
1743
Kudos Received
146
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
10992 | 03-08-2019 06:33 PM | |
4766 | 02-15-2019 08:47 PM | |
4080 | 09-26-2018 06:02 PM | |
10399 | 09-07-2018 10:33 PM | |
5479 | 04-25-2018 01:55 AM |
02-26-2016
01:52 AM
@Kuldeep Kulkarni https://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.1/bk_Ambari_Users_Guide/content/_configuring_notifications.html https://github.com/monolive/ambari-custom-alerts https://cwiki.apache.org/confluence/display/AMBARI/Customizing+the+Alert+Template
... View more
02-05-2016
11:11 PM
@rich Thanks rich. your solution worked out. I accept this answer.
... View more
12-22-2015
11:07 AM
2 Kudos
Yes, the name of the user that started the job or workflow will be available through this variable. See this code partial: https://github.com/apache/oozie/blob/master/core/s... /**
* Return the job owner user name.
*
* @return the job owner user name.
*/
public static String wf_user() {
return getWorkflow().getUser();
}
... View more
02-02-2016
02:32 PM
@Kuldeep Kulkarni has this been resolved? Can you post your solution or accept best answer?
... View more
04-14-2018
02:41 AM
seems 2 adapter is not accepting?
... View more
12-18-2015
09:22 AM
4 Kudos
@Rajesh Balamohan
helped me to find answer of this question. As per code it always converts given database name in lowercase format Answer of this questions is - Database names in hive will always be in lowecase. https://svn.apache.org/repos/asf/hive/trunk/metast... @Override
public void createDatabase(Database db) throws InvalidObjectException, MetaException {
boolean commited = false;
MDatabase mdb = new MDatabase();
mdb.setName(db.getName().toLowerCase());
mdb.setLocationUri(db.getLocationUri());
mdb.setDescription(db.getDescription());
mdb.setParameters(db.getParameters());
mdb.setOwnerName(db.getOwnerName());
PrincipalType ownerType = db.getOwnerType();
mdb.setOwnerType((null == ownerType ? PrincipalType.USER.name() : ownerType.name()));
try {
openTransaction();
pm.makePersistent(mdb);
commited = commitTransaction();
} finally {
if (!commited) {
rollbackTransaction();
}
}
}
... View more
02-03-2016
02:04 AM
4 Kudos
Based on all the discussion, this is expected behavior. Even after giving full permissions via ranger, only superuser can modify ownership.
... View more
02-05-2016
06:39 AM
See my answer which shows the screen where I made this modification.
... View more
11-26-2015
03:47 PM
1 Kudo
@Neeraj Sabharwal Yeah correct! for me build got completed successfully but unable to get UI, looks like version issue, will test on 0.90 and see
... View more
01-10-2017
09:41 PM
@Shihab That worked for me. Thanks so much. I also had to delete /system/diskbalancer.id to run it successfully. But for some reason I have to do this for every rebalancer I run.
... View more
- « Previous
- Next »