Member since
12-01-2016
34
Posts
2
Kudos Received
0
Solutions
12-28-2018
08:32 AM
Hi I am installed HDP 2.6 in Centos 6.5 .Now I want to find where is the ambari-web templates hbs files ? can some one help here is great apprciated
... View more
Labels:
- Labels:
-
Apache Ambari
03-24-2017
01:06 AM
@Jay SenSharma, i change hive-jdbc version to 1.2.1000.2.5.0.0-1245 ,and solved this problem, thank you for your help.
... View more
03-23-2017
10:56 AM
@Jay SenSharma,this is my java code public class HiveJdbcConnect {
private static String driverName = "org.apache.hive.jdbc.HiveDriver"; private static String url = "jdbc:hive2://huge-server:2181,huge-agent02:2181,huge-agent01:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2";
private static Connection conn = null;
public static Connection getConnection(){
if (conn == null) {
try {
Class.forName(driverName);
conn =(Connection) DriverManager.getConnection(url, "hive", "hive"); } catch (ClassNotFoundException e){ e.printStackTrace();
return null;
} catch (SQLException e) {
e.printStackTrace();
return null;
}
}
return conn;
} }
... View more
03-23-2017
10:50 AM
Exception in thread "main" java.lang.NullPointerException
at org.apache.thrift.transport.TSocket.open(TSocket.java:170)
at org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:266)
at org.apache.thrift.transport.TSaslClientTransport.open(TSaslClientTransport.java:37)
at org.apache.hive.jdbc.HiveConnection.openTransport(HiveConnection.java:204)
at org.apache.hive.jdbc.HiveConnection.<init>(HiveConnection.java:176)
at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:105)
at java.sql.DriverManager.getConnection(DriverManager.java:571)
at java.sql.DriverManager.getConnection(DriverManager.java:215)
at com.hugedata.hive.HiveJdbcConnect.getConnection(HiveJdbcConnect.java:19)
at com.hugedata.hive.HiveTest.main(HiveTest.java:12)
... View more
03-23-2017
08:05 AM
String url = "jdbc:hive2://huge-agent02:10000/"; Class.forName(driverName); conn =(Connection) DriverManager.getConnection(url, "hive", "hive"); when i replace url to zookeeper url (jdbc:hive2://huge-server:2181,huge-agent02:2181,huge-agent01:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2), it can not connected hive,why?
... View more
Labels:
- Labels:
-
Apache Hive
12-28-2016
07:50 AM
1 Kudo
I install ambari-infra, who can tell me what is difference between ambari infra and solr?
... View more
Labels:
- Labels:
-
Apache Ambari
12-27-2016
03:04 AM
I installed HDP-2.5 by ambari, now i want to use eclipse to delevop my project (project is mavn), so where can i found HDP components maven repositories
... View more
Labels:
- Labels:
-
Hortonworks Data Platform (HDP)
12-22-2016
12:11 PM
Thanks ,i get the same version of View JARs from another working installation, and put this jar to /var/lib/ambari-server/resources/views/,and restart ambari-server, the problem is solved, This problem may be related to the installation of the ambari source code
... View more