Member since
09-29-2015
53
Posts
35
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2522 | 10-01-2015 05:57 PM |
10-22-2019
07:50 PM
Hi @Jonas Straub,do as your article ,i create collection by curl command,and got the 401 error: curl –negotiate –u : ‘http://myhost:8983/solr/admin/collections?action=CREATE&name=col&numShards=1&replicationFactor=1&collection.configName=_default&wt=json’ { “responseHeader”:{ “status”:0, “QTime”:31818}, “failure”:{ “myhost:8983_solr”:”org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException:Error from server at http://myhost:8983/solr:Excepted mime type application/octet-stream but got text/html. <html> <head> <meta http-equiv=\”Content-Type\” content=\”text/html;charset=utf-8\”/>” <title> Error 401 Authentication required </title> </head> <body> <h2>HTTP ERROR 401</h2> <p> Problem accessing /solr/admin/cores.Reason: <pre> Authentication required</pre> </p> </body> </html> } } When I debug the solr source code, found this exception is returned by “coreContainer.getZKController().getOverseerCollectionQueue().offer(Utils.toJson(m), timeout)”,so I doubt maybe the solr don’t authenticate zookeeper info and I use a no-kerberos zookeeper to replace the Kerberos zookeeper, solr collection can be created successfully. How to solve the problem with Kerberos ZK?
... View more
06-10-2016
03:38 PM
Thanks @Hajime!
... View more
05-10-2016
07:06 PM
2 Kudos
Unfortunately an application that uses a credential store will always need at least one cleartext password so it can unlock that credential store. This can be hardcoded into the binary or stored in a file. The ranger-policymgr-ssl.xml files contain the passwords to unlock the keystore and truststore used by Ranger agents. Obviously this file should be secured with the minimal permissions necessary. Other passwords in Ranger config files are stored in a credential store (jceks file), so they don't show up in plaintext in the configs. The credential stores typically use the default keystore password, so the files themselves should still be protected by appropriate file permissions. (thanks to @lmccay for clarifying the last part for me)
... View more
03-18-2016
01:36 PM
Thanks @Predrag Minovic
... View more
03-04-2016
03:33 PM
1 Kudo
@Rajeshbabu Chintaguntla so another question: On hbase table there is a phoenix view. Now we are running a bunch of queries on phoenix view. Queries include (where, group by, aggregation functions etc.).
Which indexes are more efficient in terms of execution time to run these queries - "global with hint" or "local"?
... View more
03-01-2016
06:43 PM
@Cassandra Spencer
from this doc, looks like answer is yes. https://phoenix.apache.org/bulk_dataload.html The current MR-based bulk loader will run one MR job to load your data table and one MR per index table to populate your indexes. Use the -it option to only load one of your index tables.
... View more
02-29-2016
03:15 PM
5 Kudos
Hi @Cassandra Spencer, I did this recently, and it was easier than expected: Dump the Ambari database (ambari) into an sql file, and use sed or your favorite editor to change all hostnames in the sql file. Then, run "ambari-server reset", drop ambari DB, create it again, and import the edited sql file into Postgres. Of course take all the baskups beforehand. ambarirca database is not affected. Hive DB has no references to hosts. Oozie DB has refs to old hosts but you can leave them since it's about old jobs. Hue DB, if you use Hue has refs to old hosts, and has to be updated like ambari DB. After restarting Ambari with new hostnames I had no issues. If you can keep old hostnames as aliases there is no need to change ambari agents. Otherwise you need to change ambari agent properties, to redirect agents to the new Ambari server. Re iptables, that's unrelated to the above. You have to ensure that old required ports are opened. Starting with Ambari server and Ambari agent ports, and including all others. Also keep all ephemeral ports opened because ZooKeeper and some other components are using them.
... View more
03-09-2016
07:00 PM
4 Kudos
@Artem Ervits, @Cassandra Spencer, @Geoffrey Shelton Okot - We've updated our KB articles with multiple options for connecting to the environment, including static IP's. https://hortonworks.my.salesforce.com/articles/en_US/How_To/SmartSense-Gateway-setup https://hortonworks.my.salesforce.com/articles/en_US/How_To/Uploading-SmartSense-Bundles
... View more
01-27-2016
09:27 PM
@Ancil McBarnett Thanks so much!
... View more