Member since
04-13-2016
422
Posts
150
Kudos Received
55
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1569 | 05-23-2018 05:29 AM | |
4500 | 05-08-2018 03:06 AM | |
1409 | 02-09-2018 02:22 AM | |
2359 | 01-24-2018 08:37 PM | |
5585 | 01-24-2018 05:43 PM |
05-18-2016
09:03 PM
Please run this command as root and check
yum -y install smartsense-hst
... View more
05-18-2016
08:50 PM
@mrizvi There is no rpm/*.rpm file path in /var/lib/ambari-agent/cache/stacks/HDP/2.1/services/SMARTSENSE/package/files/rpm/*.rpm location Below steps will fix your issue: Login as root: cd /var/lib/ambari-agent/cache/stacks/HDP/2.1/services/SMARTSENSE/package/files mkdir rpm download smartsense-hst-1.2.1.0-161.rpm file and place it in var/lib/ambari-agent/cache/stacks/HDP/2.1/services/SMARTSENSE/package/files/rpm/ location Now start installing SmartSense would work
... View more
05-18-2016
04:25 PM
Even AWS is providing these free tier offers are only available to new AWS customers, and are available for 12 months following your AWS sign-up date. https://aws.amazon.com/free/
... View more
05-18-2016
02:09 PM
2 Kudos
@Radhakrishnan Rk : I have tried below steps and it worked, this might help more: 1. If Hue is not installed, pick a node and with root permissions run the following command yum install hue* 2. Make appropriate changes to /etc/hue/conf/hue.ini from Kerberos and LDAP perspectives in hue.ini 3. Pick a node where MySQL need to be installed, with root permissions, run the following command: yum install MySQL 4. MySQL service will be stopped, by default. 5. Edit /etc/my.cnf and change the max_allowed_packet setting, set to the following: max_allowed_packet = 512M 6. Stop the Hue instances, if any. 7. Copy hue_db_dump.sql to a temporary location on the node where MySQL is installed 8. /etc/init.d/MySQL start 9. On the node where MySQL instance is installed, as root user, execute the following commands at the Linux prompt mysql -e "drop database hue; create database hue; use hue; source /tmp/hue_db_dump.sql;" mysql -e "GRANT ALL ON *.* to hue@'<node_with_hue_instance>' IDENTIFIED BY 'hue';" mysql -e "DELETE FROM hue.django_content_type; ALTER TABLE hue.beeswax_session ALTER proprietary SET DEFAULT 0;" 10. On the node where Hue is installed take a backup of hue.ini cp /etc/hue/conf/hue.ini /etc/hue/conf/hue.ini.bkup 1 1. On all the Hue instances edit /etc/hue/conf/hue.ini, to point the database to MySQL 12. Start all Hue instances, login to test.
... View more
05-18-2016
04:24 AM
2 Kudos
Scheme should be created automatically, Follow below steps: To set up Hue to use a MySQL database: Create a new user in MySQL, and grant privileges to it to manage the database using the MySQL database admin utility: # mysql -u root -p<
CREATE USER $HUEUSER IDENTIFIED BY '$HUEPASSWORD';
GRANT ALL PRIVILEGES on *.* to ‘$HUEUSER’@’localhost’ WITH GRANT OPTION;
GRANT ALL on $HUEUSER.* to ‘$HUEUSER’@’localhost’ IDENTIFIED BY $HUEPASSWORD;
FLUSH PRIVILEGES; where $HUEUSER is the Hue user name and $HUEPASSWORD is the Hue user password. Create the MySQL database for Hue:
# mysql -u root -p CREATE DATABASE $DBNAME;
Open the /etc/hue/conf/hue.ini file and edit the [[database]] section (modify for your MySQL setup). [[database]]
engine=mysql
host=$DATABASEIPADDRESSORHOSTNAME
port=$PORT
user=$HUEUSER
password=$HUEPASSWORD
name=$DBNAME Synchronize Hue with the external database to create the schema and load the data.
/usr/lib/hue/build/env/bin/hue syncdb --noinput Start Hue.
/etc/init.d/hue start
... View more
05-18-2016
12:33 AM
1 Kudo
@ScipioTheYounger Only the Hive users can kill the job or the instance on which user job is running will have privileges to kill the job. If you want the By setting hive.server2.enable.doAs=true will give access to the user who running job can kill.
... View more
05-18-2016
12:17 AM
Yes, perfect Radha
... View more
05-18-2016
12:10 AM
2 Kudos
Yes, It works, I have made single centralized
external ORACLE DB for my 3 instances of hue.
... View more
05-17-2016
02:27 PM
1 Kudo
Hi, Below is the error message: Error code: 401, message: Unauthorized{"message":"Failed to fetch results by the proxy from url: http://hostname:8088/proxy/application_1463416257413_0058/ws/v2/tez/dagInfo?_=1463494671918&dagID=1&counters=&","status":401,"trace":"
\n
\n
\n
\n
\n
HTTP ERROR 401 \n
Problem accessing /ui/ws/v2/tez/dagInfo. Reason:\n
Access denied for user: yarn
Powered by Jetty:// ↓ When I'm trying to see Graphical View from TEZ view while I'm running the query in Hive View, I'm getting above error in under workflow(Additional Info from Hive), Does anyone have which proxy it's trying to fetch and looking for yarn?
... View more
Labels:
- Labels:
-
Apache Tez
05-12-2016
03:49 PM
This fixed my issue. Happened to me when i was restarting Hbase to deploy a service on Ambari and hbase client wouldn't install.It said "hadoop" in printVersions function, instead of "usr" or "docker". I have observed that we need to give that user that prompts
in the error msg when we run this command from /var/lib/ambari-agent : ./ambari-sudo.sh
/usr/bin/hdp-select set all `ambari-python-wrap /usr/bin/hdp-select versions |
grep ^2.3.2.0-2950 | tail -1`
Thanks!
go to /usr/bin/
vi hdp-select
Change Print the installed packages code to appropriate error user:
# Print the installed packages
def printVersions():
result = {}
for f in os.listdir(root):
if f not in [".", "..", "current", "share", "lost+found","hadoop"]:
result[tuple(map(int, versionRegex.split(f)))] = f
keys = result.keys()
keys.sort()
for k in keys:
print result[k]
... View more
- « Previous
- Next »