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
08-17-2018
12:33 AM
1 Kudo
Thanks@james, I always check solr.log file, some error like this "ERROR: Failed to create collection 'skfCollection' due to: create the collection time out:180s"
... View more
08-14-2018
02:30 AM
I have isntalled HDP2.5.0 and set NameNode HA, but when I use command "./solr create -c skfCollection -d ./klw/skf_configs -s 1 -rf 3" to create collection in solrCloud, there always occur the same error like this "ERROR: Failed to create collection 'skfCollection' due to: create the collection time out:180s". and I see configs and collection are exist ZK but not in "/solr" hdfs folder.
... View more
Labels:
- Labels:
-
Apache Solr
04-27-2017
01:54 PM
when i create new mysql interpreter, and create a new notebook to test, there is something wrong like this "(the paragraph is %jdbc use spider; show tables; )" You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'show tables' at line 2
class com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:526)
com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
com.mysql.jdbc.Util.getInstance(Util.java:408)
com.mysql.jdbc.SQLError.createSQLException(SQLError.java:943)
com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3970)
com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3906)
com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2524)
com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2677)
com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2545)
com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2503)
com.mysql.jdbc.StatementImpl.executeInternal(StatementImpl.java:839)
com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:739)
org.apache.zeppelin.jdbc.JDBCInterpreter.executeSql(JDBCInterpreter.java:356)
org.apache.zeppelin.jdbc.JDBCInterpreter.interpret(JDBCInterpreter.java:442)
org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:94)
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:341)
org.apache.zeppelin.scheduler.Job.run(Job.java:176)
org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162)
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
java.util.concurrent.FutureTask.run(FutureTask.java:262)
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
java.lang.Thread.run(Thread.java:745)
... View more
Labels:
- Labels:
-
Apache Zeppelin
04-27-2017
08:29 AM
when i create a new interpreter , ther properties like this : name value common.max_count default.driver com.mysql.jdbc.Driver default.password default.url jdbc:mysql://172.171.16.237:3306/ default.user root when i create new notebook, and run paragraph , there something error like this: Run SQL command 'show databases;'
INFO [2017-04-27 14:44:20,141] ({pool-2-thread-2} JDBCInterpreter.java[interpret]:440) - PropertyKey: default, SQL command: 'show databases;'
INFO [2017-04-27 14:44:20,142] ({pool-2-thread-2} JDBCInterpreter.java[getConnection]:213) - com.mysql.jdbc.Driver
ERROR [2017-04-27 14:44:20,142] ({pool-2-thread-2} Job.java[run]:189) - Job failed
java.lang.NoClassDefFoundError: org/apache/hadoop/security/UserGroupInformation$AuthenticationMethod
at org.apache.zeppelin.jdbc.security.JDBCSecurityImpl.getAuthtype(JDBCSecurityImpl.java:66)
at org.apache.zeppelin.jdbc.JDBCInterpreter.getConnection(JDBCInterpreter.java:217)
at org.apache.zeppelin.jdbc.JDBCInterpreter.getStatement(JDBCInterpreter.java:275)
at org.apache.zeppelin.jdbc.JDBCInterpreter.executeSql(JDBCInterpreter.java:336)
at org.apache.zeppelin.jdbc.JDBCInterpreter.interpret(JDBCInterpreter.java:442)
at org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:94)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:341)
at org.apache.zeppelin.scheduler.Job.run(Job.java:176)
at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
... View more
Labels:
- Labels:
-
Apache Zeppelin
04-26-2017
12:26 PM
when i change zeppelin to login (use username and password to login), i click interpreters, there something error like this: org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
... 22 more
WARN [2017-04-26 08:33:26,750] ({qtp1490276564-14} ServletHandler.java[doHandle]:620) -
javax.servlet.ServletException: Filtered request failed.
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:384)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.apache.zeppelin.server.CorsFilter.doFilter(CorsFilter.java:72)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:499)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoSuchMethodError: javax.ws.rs.ClientErrorException.validate(Ljavax/ws/rs/core/Response;Ljavax/ws/rs/core/Response$Status$Family;)Ljavax/ws/rs/core/Response;
at javax.ws.rs.ClientErrorException.<init>(ClientErrorException.java:88)
at org.apache.cxf.jaxrs.utils.JAXRSUtils.findTargetMethod(JAXRSUtils.java:503)
at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:207)
at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:103)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239)
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:248)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:222)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:153)
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:167)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:211)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
... 22 more
... View more
04-25-2017
08:58 AM
skfCollection_shard1_replica1: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Index dir 'hdfs://huge-agent01:8020/solr/skfCollection/core_node1/data/index/' of core 'skfCollection_shard1_replica1' is already locked. The most likely cause is another Solr server (or another solr core in this server) also configured to use this directory; other possible causes may be specific to lockType: hdfs who can solve this problem?
... View more
Labels:
- Labels:
-
Apache Solr
04-21-2017
06:29 AM
Thanks, but i want to change someting in zeppelin, and rebuild to rpm, How can I do it
... View more
04-21-2017
05:58 AM
Can I replace rpm package in HDP, such as replace zeppelin_2_5_0_0_1245-0.6.0.2.5.0.0-1245.el6.noarch.rpm to my rpm package?
... View more
- Tags:
- Hadoop Core
- hdp-2.5.0
Labels:
- Labels:
-
Hortonworks Data Platform (HDP)
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
- Tags:
- hive-jdbc
Labels:
- Labels:
-
Apache Hive
03-23-2017
01:15 AM
when i use 'hive --service hwi' command to start hwi,there are some errors like this: ls: cannot access /usr/hdp/2.5.0.0-1245/hive/lib/hive-hwi-*.war: No such file or directory 2017-03-23 08:52:04,732 INFO [main] hwi.HWIServer: HWI is starting up 2017-03-23 08:52:05,398 INFO [main] mortbay.log: Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
2017-03-23 08:52:05,433 INFO [main] mortbay.log: jetty-6.1.26.hwx 2017-03-23 08:52:05,514 INFO [main] mortbay.log: NO JSP Support for /hwi, did not find org.apache.jasper.servlet.JspServlet
2017-03-23 08:52:05,751 INFO [main] mortbay.log: Started SocketConnector@0.0.0.0:9999
HDP version is 2.5,ambari version is 2.4.1
... 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
- Tags:
- Hadoop Core
- hdp-2.5.0
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
12-22-2016
11:57 AM
Thanks Jay, i check /var/lib/ambari-server/resources/views/, there is no jar file in it , how to solve this problem?
... View more
12-22-2016
11:50 AM
when i use ambari to install HDP(include HDFS、YARN、HIVE、TEZ), but when i login in Ambari Web, and select admin > Manage Ambari.On the Ambari Admin page, click Views.there is no views. How can i solve this problem??
... View more
Labels:
- Labels:
-
Apache Ambari