Member since
03-14-2016
4721
Posts
1111
Kudos Received
874
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2448 | 04-27-2020 03:48 AM | |
4885 | 04-26-2020 06:18 PM | |
3976 | 04-26-2020 06:05 PM | |
3220 | 04-13-2020 08:53 PM | |
4927 | 03-31-2020 02:10 AM |
03-06-2017
09:03 AM
@voca voca For social media content like Facebook you can take a look at : Analyzing Social Media and Customer Sentiment With Apache NiFi and HDP Search: https://hortonworks.com/hadoop-tutorial/how-to-refine-and-visualize-sentiment-data/
... View more
03-06-2017
06:43 AM
@Inam Ur Rehman After logging in to the mysql you can switch to the desired database schema using "mysql> use $SCHEMA_NAME;" Example: Shows how to use "ranger" db schema. # mysql -u root -p
Enter password: hadoop
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3126
Server version: 5.6.33 MySQL Community Server (GPL)
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| EmpDB |
| hive |
| mysql |
| performance_schema |
| ranger |
+--------------------+
6 rows in set (0.01 sec)
mysql> use ranger;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> show tables;
+--------------------------------+
| Tables_in_ranger |
+--------------------------------+
| vx_trx_log |
| x_access_type_def |
| x_access_type_def_grants |
| x_asset |
| x_audit_map |
.
... View more
03-05-2017
01:25 PM
@Inam Ur Rehman Try specifying the password as "hadoop" if you are using sandbox. # mysql -u root -p
Enter password: hadoop . - But if you have changed mysql root password then you might want to look at the following link which talks about If you assigned a root password previously but have forgotten it, you can assign a new password.
https://dev.mysql.com/doc/refman/5.7/en/resetting-permissions.html
... View more
03-05-2017
10:52 AM
@Subramaniyam KMV Do you have proper read permission on the JAR "/root/iot-truck-streaming/storm-streaming/target/storm-streaming-1.0-SNAPSHOT.jar" for the user who is running the job? Can you run the following command to findout if the jar is containing the missing class or not? jar -tvf /root/iot-truck-streaming/storm-streaming/target/storm-streaming-1.0-SNAPSHOT.jar | grep 'TruckEventKafkaExperimTopology'
. Or can you locate the JAR in your filesystem that contains the following class ? com.hortonworks.streaming.impl.topologies.TruckEventKafkaExperimTopology
... View more
03-05-2017
07:27 AM
@sankar sankar After you run the "mysql -u root -p" command when it asks for password please enter "hadoop" as password. Example:
# mysql -u root -p
Enter password: hadoop - Operating System password and MySQL passwords can be different. . - But if you have changed mysql root password then you might want to look at the following link which talks about If you assigned a root password previously but have forgotten it, you can assign a new password. https://dev.mysql.com/doc/refman/5.7/en/resetting-permissions.html
... View more
03-05-2017
04:34 AM
@Tin Huynh
You added it in a wrong place, Please remove it and do it in Hive --> Configs --> Advanced -- "Custom hivemetastore-site". Then click on "Add Property.." link and add some dummy property like .
... View more
03-04-2017
03:31 PM
@Tin Huynh Can you please try the following, Login to Ambari UI then navigate to:
Hive --> Configs --> Advanced -- "Custom hivemetastore-site". Then click on "Add Property.." link and add some dummy property like A = B
Now save the configuration and then try restarting the service.
... View more
03-03-2017
03:50 PM
1 Kudo
@voca voca Screenshot says that you are already inside the Sandbox in your terminal. Also the output of "hostname -f" also proves that you are alredy logged in to the sandbox # hostname -f
sandbox.hortonworks.com you should be able to run your HDFS commands in the same terminal. example: hdfs dfs -ls / .
... View more
03-03-2017
03:41 PM
@voca voca From your screenshot it looks like you are already connected to "sandbox" as we see that the prompt says "root@sandbox" so can you please double check that? Or try opening a new terminal and then run the same command: ssh root@localhost -p 2222 . Enter "hadoop" as password when it asks. Also in the terminal where you have run the "ifconfig" can you also run the following command to see the hostname? hostname -f
.
... View more
03-02-2017
04:37 PM
1 Kudo
@Eric Lloyd Have you added the "proxyuser" configuration properly in the advanced core-site via Ambari? hadoop.proxyuser.root.groups=*
hadoop.proxyuser.root.hosts=* Like:http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.18/bk_ambari-views/content/_configuring_your_cluster_for_files_view.html - Also what is the size of the file that you are trying to download/view? Is it too large?
... View more