Connection refused

Stack Overflow | chrx | 1 week ago
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    I meet a problem when I use standalone Spark cluster mode

    Google Groups | 1 year ago | rht sjz Connection refused
  2. 0

    Titan + HBase on a MapR Hadoop Cluster is it possible and how?

    Google Groups | 2 years ago | Blagovest Trenchev Connection refused
  3. 0

    How to deploy client configuration on HDP

    Stack Overflow | 1 year ago | Vikas Hardia Connection refused
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    hadoop集群升级手札 - CSDN博客 | 1 year ago Connection refused
  6. 0

    (Jimmy has been working on this one internally. I'm just the messenger raising this critical issue upstream). So, if you make job jar and bundle up hbase inside in it because you want to access hbase from your mapreduce task, the deploy of the job jar to the cluster fails with: {code} 14/01/05 08:59:19 INFO Configuration.deprecation: topology.node.switch.mapping.impl is deprecated. Instead, use net.topology.node.switch.mapping.impl 14/01/05 08:59:19 INFO Configuration.deprecation: io.bytes.per.checksum is deprecated. Instead, use dfs.bytes-per-checksum Exception in thread "main" java.lang.IllegalAccessError: class cannot access its superclass at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass( at at at$100( at$ at$ at Method) at at java.lang.ClassLoader.loadClass( at java.lang.ClassLoader.loadClass( at org.apache.hadoop.hbase.protobuf.ProtobufUtil.toScan( at org.apache.hadoop.hbase.mapreduce.TableMapReduceUtil.convertScanToString( at org.apache.hadoop.hbase.mapreduce.TableMapReduceUtil.initTableMapperJob( at org.apache.hadoop.hbase.mapreduce.TableMapReduceUtil.initTableMapperJob( at org.apache.hadoop.hbase.mapreduce.TableMapReduceUtil.initTableMapperJob( at org.apache.hadoop.hbase.mapreduce.TableMapReduceUtil.initTableMapperJob( at at at at at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at org.apache.hadoop.util.RunJar.main( {code} So, ZCLBS is a hack. This class is in the hbase-protocol module. It is "in" the package. All is well and good usually. But when we make a job jar and bundle up hbase inside it, our 'trick' breaks. RunJar makes a new class loader to run the job jar. This URLCLassLoader 'attaches' all the jars and classes that are in jobjar so they can be found when it does to do a lookup only Classloaders work by always delegating to their parent first (unless you are a WAR file in a container where delegation is 'off' for the most part) and in this case, the parent classloader will have access to a pb jar since pb is in the hadoop CLASSPATH. So, the parent loads the pb classes. We then load ZCLBS only this is done in the claslsloader made by RunJar; ZKCLBS has a different classloader from its superclass and we get the above IllegalAccessError. Now (Jimmy's work comes in here), this can't be fixed by reflection -- you can't setAccess on a 'Class' -- and though it probably could be fixed by hacking RunJar so it was somehow made configurable so we could put in place our own ClassLoader to do something like containers do for WAR files (probably not a bad idea), there would be some fierce hackery involved and besides, this won't show up in hadoop anytime too soon leaving hadoop 2.2ers out in the cold. So, the alternatives are: 1. Undo the ZCLSB hack. We'd lose a lot of nice perf improvement but I'd say this is preferable to crazy CLASSPATH hacks. 2. Require folks put hbase-protocol -- thats all you'd need -- on the hadoop CLASSPATH. This is kinda crazy. 3. We could try shading the pb jar content or probably better, just pull pb into hbase altogether only under a different package. If it was in our code base, we could do more ZCLSB-like speedups. I was going to experiment with #3 above unless anyone else has a better idea.

    Apache's JIRA Issue Tracker | 3 years ago | stack Connection refused

  1. batwalrus76 33 times, last 2 months ago
  2. stigkj 1 times, last 2 months ago
  3. fervidnerd 126 times, last 2 months ago
  4. RoiOtero 12402 times, last 2 months ago
  5. nasimk 31625 times, last 2 weeks ago
14 more registered users
81 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


    Connection refused

  2. Java RT
    1. Method)[na:1.8.0_111]
    2 frames
  3. Zookeeper
    1. org.apache.zookeeper.ClientCnxnSocketNIO.doTransport([zookeeper-3.4.6.jar!/:3.4.6-1569965]
    2. org.apache.zookeeper.ClientCnxn$[zookeeper-3.4.6.jar!/:3.4.6-1569965]
    2 frames