java.lang.RuntimeException: java.net.UnknownHostException: zkHost

Apache's JIRA Issue Tracker | Alessandro Benedetti | 3 years ago
  1. 0

    [CONNECTORS-840] Job - Solr Mapping Improvement - ASF JIRA

    apache.org | 11 months ago
    java.lang.RuntimeException: java.net.UnknownHostException: zkHost
  2. 0

    "When you configure a job to use a Solr-type output connection, the Solr connection type provides a tab called "Field Mapping". The purpose of this tab is to allow you to map metadata fields as fetched by the job's connection type to fields that Solr is set up to receive. This is necessary because the names of the metadata items are often determined by the repository, with no alignment to fields defined in the Solr schema. You may also suppress specific metadata items from being sent to the index using this tab. Add a new mapping by filling in the "source" with the name of the metadata item from the repository, and "target" as the name of the output field in Solr, and click the "Add" button. Leaving the "target" field blank will result in all metadata items of that name not being sent to Solr." In my opinion we should change the way a metadata field is suppressed. The most natural way is that we express only the mappings of the metadata fields we want to keep. All the missing params will not be sent to Solr. The improvement will be : - same interface with a boolean flag in addition, this flag will specify if the missing metadata fields not expressed should be sent to Solr with the original names or not sent at all. In this way if we want to keep 3/100 metadata fields, we don't have to write 100 mapping entries , 97 empty but simply 3 entries and activate the flag.

    Apache's JIRA Issue Tracker | 3 years ago | Alessandro Benedetti
    java.lang.RuntimeException: java.net.UnknownHostException: zkHost
  3. 0

    GitHub comment 4392#247725699

    GitHub | 3 months ago | jdef
    java.net.UnknownHostException: zk-1.zk: unknown error
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Titan 0.5.3 Hangs while connecting to Hbase 0.98.4 with HDP 2.2 stack

    GitHub | 2 years ago | bala-infini
    java.net.UnknownHostException: ("127.0.0.1"): Name or service not known
  6. 0

    [#DISTRO-578] Can't recover a zookeeper connection failure - Cloudera Open Source

    cloudera.org | 2 years ago
    java.net.UnknownHostException: hadoopmaster01.prod.ps

  1. Raggyman 2 times, last 2 months ago
  2. Nikolay Rybak 1 times, last 5 months ago
  3. filpgame 1 times, last 3 days ago
  4. bmacedo 1 times, last 1 week ago
  5. archenroot 1 times, last 2 weeks ago
37 more registered users
47 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.UnknownHostException

    zkHost

    at java.net.Inet6AddressImpl.lookupAllHostAddr()
  2. Java RT
    InetAddress.getAllByName
    1. java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
    2. java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:894)
    3. java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1286)
    4. java.net.InetAddress.getAllByName0(InetAddress.java:1239)
    5. java.net.InetAddress.getAllByName(InetAddress.java:1155)
    6. java.net.InetAddress.getAllByName(InetAddress.java:1091)
    6 frames
  3. Zookeeper
    ZooKeeper.<init>
    1. org.apache.zookeeper.client.StaticHostProvider.<init>(StaticHostProvider.java:60)
    2. org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:445)
    3. org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:380)
    3 frames
  4. Apache Solr Solrj
    SolrZkClient.<init>
    1. org.apache.solr.common.cloud.SolrZooKeeper.<init>(SolrZooKeeper.java:40)
    2. org.apache.solr.common.cloud.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:37)
    3. org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:105)
    3 frames