cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ruslan usifov <ruslan.usi...@gmail.com>
Subject Re: Bootstrap hung
Date Fri, 12 Feb 2010 20:38:01 GMT
Also i have problem with StreamInitiateVerbHandler, the problem in
PendingFile.getTargetFile, namely difference in slashes on win and unix, so
i change PendingFile.java like this:

    public PendingFile(String targetFile, long expectedBytes, String table)
    {
        targetFile_ = targetFile.replaceAll("(?:\\\\|/)+", "/");
        expectedBytes_ = expectedBytes;
        table_ = table;
        ptr_ = 0;
    }

    public void setTargetFile(String file)
    {
        targetFile_ = file.replaceAll("(?:\\\\|/)+", "/");;
    }

Mime
View raw message