title: Not able to delete a Row which has a timestamp Long.MAX_VALUE from Hbase
body: <p>Somehow I ended up adding a row to <code>Hbase</code> with timestamp as <code>Long.MAX_VALUE</code>. Now Either not able to <code>put</code> with less than that <code>Long.MAX_VALUE</code> to the same <code>key</code> or <code>delete</code> that inserted row.</p>
  <p><strong>What cause this issue</strong></p>
  <p>Once I succesfully added this row (For some curiosity). Is it bad to add a <code>timestamp</code> value like this?</p>
  <pre><code>mm21000000000:422021000000000     column=s:fe:k, timestamp=9223370481975138807, value=m21000000000
  mm21000000000:422021000000000     column=s:fe:m21000000000, timestamp=9223370481975138807, value=\x01
  </code></pre>
  <p>Now, If I try to add one more column to same row like this without <code>timestamp</code> or less than the <code>timestamp</code> as <code>&lt; Long.MAX_VALUE</code>, it won't working. Of course If I add a new <code>row</code> with diff <code>key</code> it works.</p>
  <pre><code>put 'ue_combo','mm21000000000:422021000000000','s:le:k','3422021000000000' // I'll be adding this via JAVA
  //Briefly
  put.addColumn(&quot;s&quot;.getBytes(), &quot;le:k&quot;.getBytes(), ts, &quot;3422021000000000&quot;.getBytes()); //ts is timestamp
  </code></pre>
  <p>Finally decided to get rid of that row and tried deleting that row using <code>key</code> value and also used <code>ROWPREFIXFILTER</code> as shown below</p>
  <pre><code>deleteall 'table_name', 'mm21000000000:422021000000000'
  deleteall 'table_name', {ROWPREFIXFILTER =&gt; 'mm'}
  </code></pre>
  <p><strong>Not at all deleting</strong></p>
  <p>Solution via shell command or through Hbase APIs via <code>JAVA</code> codebase will help. Also able to figure the issue but not able to understand it thoroughly. Is <code>Hbase</code> understanding that the row added with <code>timestamp</code> as <code>Long.MAX_VALUE</code> will be added in future time? <code>Hbase</code> only allow in increasing ordered <code>timestamp</code> then meaning once a maxed <code>timestamp</code> is stored less than that <code>timestamp</code> cannot be inserted?</p>
  <p>I found this <a href="https://www.mail-archive.com/user@hbase.apache.org/msg44599.html" rel="nofollow noreferrer">mail-archive</a>, didn't understood much but I think he tries to overriding the <code>Hbase</code> code. That's not possible in my case.</p>
  <p>If you need anything extra, please mention in the comment</p>