[jira] [Commented] (HBASE-4510) HDFS-1620 related changes downstream (For compiling with HDFS 0.23+)

2011-10-17 Thread jirapos...@reviews.apache.org (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-4510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13129458#comment-13129458
 ] 

jirapos...@reviews.apache.org commented on HBASE-4510:
--


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2108/
---

(Updated 2011-10-18 03:42:06.955026)


Review request for hbase.


Changes
---

Updated patch that should fix 0.23 builds.


Summary
---

HBase isn't seemingly compiling anymore on 0.23 after the HDFS-1620 naming 
refactorings were carried out.

Two solutions:

1. We use new classnames. This breaks HBase's backward compatibility with older 
Hadoop releases (is that a concern with future releases?)
2. HBase gets its own sets of constants as the upstream one is not marked for 
public usage. This needs a little more maintenance on HBases' side.

Way (2) seems more viable. I've attached an initial patch that doesn't fix all 
trouble yet, but introduces the first way of changes.

The remaining issue lies in the use of DistributedFileSystem's safemode methods 
(which are private audience as well) inside of HBase for safemode waits and 
checks (via HBases' FSUtils class). Since this uses an enum, it is more 
difficult to handle without upstream interventions - thoughts?


This addresses bug HBASE-4510.
https://issues.apache.org/jira/browse/HBASE-4510


Diffs (updated)
-

  src/main/java/org/apache/hadoop/hbase/util/FSHDFSUtils.java dcd0937 
  src/main/java/org/apache/hadoop/hbase/util/FSUtils.java 789dd3b 

Diff: https://reviews.apache.org/r/2108/diff


Testing
---


Thanks,

Harsh



 HDFS-1620 related changes downstream (For compiling with HDFS 0.23+)
 

 Key: HBASE-4510
 URL: https://issues.apache.org/jira/browse/HBASE-4510
 Project: HBase
  Issue Type: Task
Affects Versions: 0.94.0
Reporter: Harsh J
Assignee: Harsh J
Priority: Blocker

 HBase isn't seemingly compiling anymore on 0.23 after the HDFS-1620 naming 
 refactorings were carried out.
 Two solutions:
 * We use new classnames. This breaks HBase's backward compatibility with 
 older Hadoop releases (is that a concern with future releases?)
 * HBase gets its own sets of constants as the upstream one is not marked for 
 public usage. This needs a little more maintenance on HBases' side.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HBASE-4510) HDFS-1620 related changes downstream (For compiling with HDFS 0.23+)

2011-10-17 Thread jirapos...@reviews.apache.org (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-4510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13129462#comment-13129462
 ] 

jirapos...@reviews.apache.org commented on HBASE-4510:
--


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2108/#review2641
---

Ship it!



src/main/java/org/apache/hadoop/hbase/util/FSUtils.java
https://reviews.apache.org/r/2108/#comment5946

Typo: retrieved



src/main/java/org/apache/hadoop/hbase/util/FSUtils.java
https://reviews.apache.org/r/2108/#comment5947

This condition is covered by isInSafeMode() already.


- Ted


On 2011-10-18 03:42:06, Harsh J wrote:
bq.  
bq.  ---
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/2108/
bq.  ---
bq.  
bq.  (Updated 2011-10-18 03:42:06)
bq.  
bq.  
bq.  Review request for hbase.
bq.  
bq.  
bq.  Summary
bq.  ---
bq.  
bq.  HBase isn't seemingly compiling anymore on 0.23 after the HDFS-1620 naming 
refactorings were carried out.
bq.  
bq.  Two solutions:
bq.  
bq.  1. We use new classnames. This breaks HBase's backward compatibility with 
older Hadoop releases (is that a concern with future releases?)
bq.  2. HBase gets its own sets of constants as the upstream one is not marked 
for public usage. This needs a little more maintenance on HBases' side.
bq.  
bq.  Way (2) seems more viable. I've attached an initial patch that doesn't fix 
all trouble yet, but introduces the first way of changes.
bq.  
bq.  The remaining issue lies in the use of DistributedFileSystem's safemode 
methods (which are private audience as well) inside of HBase for safemode waits 
and checks (via HBases' FSUtils class). Since this uses an enum, it is more 
difficult to handle without upstream interventions - thoughts?
bq.  
bq.  
bq.  This addresses bug HBASE-4510.
bq.  https://issues.apache.org/jira/browse/HBASE-4510
bq.  
bq.  
bq.  Diffs
bq.  -
bq.  
bq.src/main/java/org/apache/hadoop/hbase/util/FSHDFSUtils.java dcd0937 
bq.src/main/java/org/apache/hadoop/hbase/util/FSUtils.java 789dd3b 
bq.  
bq.  Diff: https://reviews.apache.org/r/2108/diff
bq.  
bq.  
bq.  Testing
bq.  ---
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Harsh
bq.  
bq.



 HDFS-1620 related changes downstream (For compiling with HDFS 0.23+)
 

 Key: HBASE-4510
 URL: https://issues.apache.org/jira/browse/HBASE-4510
 Project: HBase
  Issue Type: Task
Affects Versions: 0.94.0
Reporter: Harsh J
Assignee: Harsh J
Priority: Blocker

 HBase isn't seemingly compiling anymore on 0.23 after the HDFS-1620 naming 
 refactorings were carried out.
 Two solutions:
 * We use new classnames. This breaks HBase's backward compatibility with 
 older Hadoop releases (is that a concern with future releases?)
 * HBase gets its own sets of constants as the upstream one is not marked for 
 public usage. This needs a little more maintenance on HBases' side.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HBASE-4510) HDFS-1620 related changes downstream (For compiling with HDFS 0.23+)

2011-10-17 Thread jirapos...@reviews.apache.org (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-4510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13129466#comment-13129466
 ] 

jirapos...@reviews.apache.org commented on HBASE-4510:
--


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2108/
---

(Updated 2011-10-18 04:01:36.605193)


Review request for hbase.


Changes
---

Fix Ted's comments.

Commenting further on JIRA itself, since this isn't as urgent as before.


Summary
---

HBase isn't seemingly compiling anymore on 0.23 after the HDFS-1620 naming 
refactorings were carried out.

Two solutions:

1. We use new classnames. This breaks HBase's backward compatibility with older 
Hadoop releases (is that a concern with future releases?)
2. HBase gets its own sets of constants as the upstream one is not marked for 
public usage. This needs a little more maintenance on HBases' side.

Way (2) seems more viable. I've attached an initial patch that doesn't fix all 
trouble yet, but introduces the first way of changes.

The remaining issue lies in the use of DistributedFileSystem's safemode methods 
(which are private audience as well) inside of HBase for safemode waits and 
checks (via HBases' FSUtils class). Since this uses an enum, it is more 
difficult to handle without upstream interventions - thoughts?


This addresses bug HBASE-4510.
https://issues.apache.org/jira/browse/HBASE-4510


Diffs (updated)
-

  src/main/java/org/apache/hadoop/hbase/util/FSHDFSUtils.java dcd0937 
  src/main/java/org/apache/hadoop/hbase/util/FSUtils.java 789dd3b 

Diff: https://reviews.apache.org/r/2108/diff


Testing
---


Thanks,

Harsh



 HDFS-1620 related changes downstream (For compiling with HDFS 0.23+)
 

 Key: HBASE-4510
 URL: https://issues.apache.org/jira/browse/HBASE-4510
 Project: HBase
  Issue Type: Task
Affects Versions: 0.94.0
Reporter: Harsh J
Assignee: Harsh J
Priority: Blocker

 HBase isn't seemingly compiling anymore on 0.23 after the HDFS-1620 naming 
 refactorings were carried out.
 Two solutions:
 * We use new classnames. This breaks HBase's backward compatibility with 
 older Hadoop releases (is that a concern with future releases?)
 * HBase gets its own sets of constants as the upstream one is not marked for 
 public usage. This needs a little more maintenance on HBases' side.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HBASE-4510) HDFS-1620 related changes downstream (For compiling with HDFS 0.23+)

2011-09-29 Thread Ted Yu (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-4510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13117025#comment-13117025
 ] 

Ted Yu commented on HBASE-4510:
---

I think the above diff is in the right direction.

 HDFS-1620 related changes downstream (For compiling with HDFS 0.23+)
 

 Key: HBASE-4510
 URL: https://issues.apache.org/jira/browse/HBASE-4510
 Project: HBase
  Issue Type: Task
Affects Versions: 0.94.0
Reporter: Harsh J
Assignee: Harsh J
Priority: Blocker

 HBase isn't seemingly compiling anymore on 0.23 after the HDFS-1620 naming 
 refactorings were carried out.
 Two solutions:
 * We use new classnames. This breaks HBase's backward compatibility with 
 older Hadoop releases (is that a concern with future releases?)
 * HBase gets its own sets of constants as the upstream one is not marked for 
 public usage. This needs a little more maintenance on HBases' side.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HBASE-4510) HDFS-1620 related changes downstream (For compiling with HDFS 0.23+)

2011-09-28 Thread Ted Yu (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-4510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13117013#comment-13117013
 ] 

Ted Yu commented on HBASE-4510:
---

I think option 2 is more viable.
We should keep backward compatibility.

 HDFS-1620 related changes downstream (For compiling with HDFS 0.23+)
 

 Key: HBASE-4510
 URL: https://issues.apache.org/jira/browse/HBASE-4510
 Project: HBase
  Issue Type: Task
Affects Versions: 0.94.0
Reporter: Harsh J
Assignee: Harsh J
Priority: Blocker

 HBase isn't seemingly compiling anymore on 0.23 after the HDFS-1620 naming 
 refactorings were carried out.
 Two solutions:
 * We use new classnames. This breaks HBase's backward compatibility with 
 older Hadoop releases (is that a concern with future releases?)
 * HBase gets its own sets of constants as the upstream one is not marked for 
 public usage. This needs a little more maintenance on HBases' side.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HBASE-4510) HDFS-1620 related changes downstream (For compiling with HDFS 0.23+)

2011-09-28 Thread stack (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-4510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13117015#comment-13117015
 ] 

stack commented on HBASE-4510:
--

Ugh.  Thanks Harsh for opening this issue.  Would be nice if 0.92 was working 
w/ current state of 0.23 branch at time of release.

 HDFS-1620 related changes downstream (For compiling with HDFS 0.23+)
 

 Key: HBASE-4510
 URL: https://issues.apache.org/jira/browse/HBASE-4510
 Project: HBase
  Issue Type: Task
Affects Versions: 0.94.0
Reporter: Harsh J
Assignee: Harsh J
Priority: Blocker

 HBase isn't seemingly compiling anymore on 0.23 after the HDFS-1620 naming 
 refactorings were carried out.
 Two solutions:
 * We use new classnames. This breaks HBase's backward compatibility with 
 older Hadoop releases (is that a concern with future releases?)
 * HBase gets its own sets of constants as the upstream one is not marked for 
 public usage. This needs a little more maintenance on HBases' side.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HBASE-4510) HDFS-1620 related changes downstream (For compiling with HDFS 0.23+)

2011-09-28 Thread Harsh J (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-4510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13117021#comment-13117021
 ] 

Harsh J commented on HBASE-4510:


Since this may require a lot of review+discussion, I've opened 
https://reviews.apache.org/r/2108/

 HDFS-1620 related changes downstream (For compiling with HDFS 0.23+)
 

 Key: HBASE-4510
 URL: https://issues.apache.org/jira/browse/HBASE-4510
 Project: HBase
  Issue Type: Task
Affects Versions: 0.94.0
Reporter: Harsh J
Assignee: Harsh J
Priority: Blocker

 HBase isn't seemingly compiling anymore on 0.23 after the HDFS-1620 naming 
 refactorings were carried out.
 Two solutions:
 * We use new classnames. This breaks HBase's backward compatibility with 
 older Hadoop releases (is that a concern with future releases?)
 * HBase gets its own sets of constants as the upstream one is not marked for 
 public usage. This needs a little more maintenance on HBases' side.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HBASE-4510) HDFS-1620 related changes downstream (For compiling with HDFS 0.23+)

2011-09-28 Thread jirapos...@reviews.apache.org (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-4510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13117022#comment-13117022
 ] 

jirapos...@reviews.apache.org commented on HBASE-4510:
--


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2108/
---

Review request for hbase.


Summary
---

HBase isn't seemingly compiling anymore on 0.23 after the HDFS-1620 naming 
refactorings were carried out.

Two solutions:

1. We use new classnames. This breaks HBase's backward compatibility with older 
Hadoop releases (is that a concern with future releases?)
2. HBase gets its own sets of constants as the upstream one is not marked for 
public usage. This needs a little more maintenance on HBases' side.

Way (2) seems more viable. I've attached an initial patch that doesn't fix all 
trouble yet, but introduces the first way of changes.

The remaining issue lies in the use of DistributedFileSystem's safemode methods 
(which are private audience as well) inside of HBase for safemode waits and 
checks (via HBases' FSUtils class). Since this uses an enum, it is more 
difficult to handle without upstream interventions - thoughts?


This addresses bug HBASE-4510.
https://issues.apache.org/jira/browse/HBASE-4510


Diffs
-

  src/main/java/org/apache/hadoop/hbase/util/FSHDFSUtils.java dcd0937 

Diff: https://reviews.apache.org/r/2108/diff


Testing
---


Thanks,

Harsh



 HDFS-1620 related changes downstream (For compiling with HDFS 0.23+)
 

 Key: HBASE-4510
 URL: https://issues.apache.org/jira/browse/HBASE-4510
 Project: HBase
  Issue Type: Task
Affects Versions: 0.94.0
Reporter: Harsh J
Assignee: Harsh J
Priority: Blocker

 HBase isn't seemingly compiling anymore on 0.23 after the HDFS-1620 naming 
 refactorings were carried out.
 Two solutions:
 * We use new classnames. This breaks HBase's backward compatibility with 
 older Hadoop releases (is that a concern with future releases?)
 * HBase gets its own sets of constants as the upstream one is not marked for 
 public usage. This needs a little more maintenance on HBases' side.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira