You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sammy Yu (JIRA)" <ji...@apache.org> on 2009/11/06 00:17:32 UTC

[jira] Created: (CASSANDRA-529) Read Repair throws UnknownHostException

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


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.


[jira] Updated: (CASSANDRA-529) Read Repair throws UnknownHostException

Posted by "Sammy Yu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sammy Yu updated CASSANDRA-529:
-------------------------------

    Attachment: 0001--CASSANDRA-529.patch

Use getHostAddress instead of toString()


> 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.


[jira] Commented: (CASSANDRA-529) Read Repair throws UnknownHostException

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (CASSANDRA-529) Read Repair throws UnknownHostException

Posted by "Chris Goffinet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12775031#action_12775031 ] 

Chris Goffinet commented on CASSANDRA-529:
------------------------------------------

committed

> 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.


[jira] Commented: (CASSANDRA-529) Read Repair throws UnknownHostException

Posted by "Chris Goffinet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774150#action_12774150 ] 

Chris Goffinet commented on CASSANDRA-529:
------------------------------------------

+1

> 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.


[jira] Commented: (CASSANDRA-529) Read Repair throws UnknownHostException

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774151#action_12774151 ] 

Jonathan Ellis commented on CASSANDRA-529:
------------------------------------------

+1

goffinet to commit?

> 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.