hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hyunsik Choi (JIRA)" <j...@apache.org>
Subject [jira] Created: (HBASE-1941) Put's copy feature has a bug.
Date Thu, 29 Oct 2009 16:50:59 GMT
Put's copy feature has a bug.
-----------------------------

                 Key: HBASE-1941
                 URL: https://issues.apache.org/jira/browse/HBASE-1941
             Project: Hadoop HBase
          Issue Type: Bug
          Components: client
    Affects Versions: 0.20.1
            Reporter: Hyunsik Choi


Put's copy feature has a bug. The copy does not consider the timestamp value.
In the following example, a put and its copied put prints out different timestamps.
{{
Put put = new Put("abc".getBytes());
put.setTimeStamp(1);
System.out.println(put.getTimeStamp());
Put put2 = new Put(put);
System.out.println(put2.getTimeStamp());
---------------------------
Above source code results in as follows:

1
9223372036854775807
}}

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