- caused by: unrecognized locktype: native (solr)
- vim /opt/lucidworks-hdpsearch/solr/server/solr/configsets/data_driven_schema_configs/conf/solrconfig.xml
- search lockType
- set it to hdfs
- /opt/lucidworks-hdpsearch/solr/server/scripts/cloud-scripts/zkcli.sh -zkhost localhost:2181 -cmd upconfig -confname myCollConfigs -confdir /opt/lucidworks-hdpsearch/solr/server/solr/configsets/data_driven_schema_configs/conf
- caused by: direct buffer memory (solr)
- vim /opt/lucidworks-hdpsearch/solr/server/solr/configsets/data_driven_schema_configs/conf/solrconfig.xml
- search solr.hdfs.blockcache.direct.memory.allocation
- set it to false
- /opt/lucidworks-hdpsearch/solr/server/scripts/cloud-scripts/zkcli.sh -zkhost localhost:2181 -cmd upconfig -confname myCollConfigs -confdir /opt/lucidworks-hdpsearch/solr/server/solr/configsets/data_driven_schema_configs/conf
- restart solr
- or try 'caused by: java heap space (solr)' directly
- caused by: java heap space (solr)
- vim /opt/lucidworks-hdpsearch/solr/bin/solr.in.sh
- search solr_heap
- increase it
- restart solr
- error: not found: value StructType (spark)
- import org.apache.spark.sql.types._
- note that you need to import 'import org.apache.spark.sql.types._' even if 'import org.apache.spark.sql._' is already imported
- no response from namenode UI / 50070 is binded to private IP (hadoop)
- ambari web -> HDFS -> configs -> custom core-site -> add property
- key: dfs.namenode.http-bind-host
- value: 0.0.0.0
- save it and restart related services
- note that there are 'dfs.namenode.rpc-bind-host', 'dfs.namenode.servicerpc-bind-host' and 'dfs.namenode.https-bind-host' properties which can solve similar issue
- ambari web -> HDFS -> configs -> custom core-site -> add property
- root is not allowed to impersonate <username> (hadoop)
- ambari web -> HDFS -> configs -> custom core-site -> add property
- key: hadoop.proxyuser.root.groups
- value: *
- key: hadoop.proxyuser.root.hosts
- value: *
- save it and restart related services
- note that you should change root to the user name who runs/submits the service/job
- ambari web -> HDFS -> configs -> custom core-site -> add property
- option sql_select_limit=default (ambari)
- use latest jdbc driver
- cd /usr/share
- mkdir java
- cd java
- wget http://cdn.mysql.com/Downloads/Connector-J/mysql-connector-java-5.1.36.zip
- unzip mysql-connector-java-5.1.36.zip
- cp mysql-connector-java-5.1.36/mysql-connector-java-5.1.36-bin.jar .
- ln -s mysql-connector-java-5.1.36-bin.jar mysql-connector-java.jar
- use latest jdbc driver
Monday, August 31, 2015
Help 4 HDP - Old
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.