cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-529) Read Repair throws UnknownHostException
Date Tue, 10 Nov 2009 12:34:28 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12775388#action_12775388
] 

Hudson commented on CASSANDRA-529:
----------------------------------

Integrated in Cassandra #254 (See [http://hudson.zones.apache.org/hudson/job/Cassandra/254/])
    Use getHostAddress instead of toString(), Read Repair was throwing an Exception. Patch
by sammyyu, reviewed by jbellis for 


> Read Repair throws UnknownHostException
> ---------------------------------------
>
>                 Key: CASSANDRA-529
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-529
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.5
>            Reporter: Sammy Yu
>            Assignee: Sammy Yu
>             Fix For: 0.5
>
>         Attachments: 0001--CASSANDRA-529.patch
>
>
> Read repair appears to be failing due to the facet that InetAddress.toString() is used
into the repair call's key which will be passing "hostname/ipaddress" into InetAddress.getByName()
> INFO [CACHETABLE-TIMER-4] 2009-11-05 14:41:38,786 Cachetable.java (line 107) Exception
was generated at : 11/05/2009 14:41:38 on thread CACHETABLE-TIMER-4
> java.net.UnknownHostException: /10.2.131.90
> java.lang.RuntimeException: java.net.UnknownHostException: /10.2.131.90
>         at org.apache.cassandra.service.ReadRepairManager$ReadRepairPerformer.callMe(ReadRepairManager.java:75)
>         at org.apache.cassandra.service.ReadRepairManager$ReadRepairPerformer.callMe(ReadRepairManager.java:58)
>         at org.apache.cassandra.utils.Cachetable$CacheMonitor.run(Cachetable.java:102)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> Caused by: java.net.UnknownHostException: /10.2.131.90
>         at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
>         at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:849)
>         at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1200)
>         at java.net.InetAddress.getAllByName0(InetAddress.java:1153)
>         at java.net.InetAddress.getAllByName(InetAddress.java:1083)
>         at java.net.InetAddress.getAllByName(InetAddress.java:1019)
>         at java.net.InetAddress.getByName(InetAddress.java:969)
>         at org.apache.cassandra.service.ReadRepairManager$ReadRepairPerformer.callMe(ReadRepairManager.java:71)
>         ... 4 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message