hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Work logged] (HDDS-1723) Create new OzoneManagerLock class
Date Mon, 24 Jun 2019 23:18:00 GMT

     [ https://issues.apache.org/jira/browse/HDDS-1723?focusedWorklogId=266209&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-266209
]

ASF GitHub Bot logged work on HDDS-1723:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Jun/19 23:17
            Start Date: 24/Jun/19 23:17
    Worklog Time Spent: 10m 
      Work Description: hadoop-yetus commented on issue #1006: HDDS-1723. Create new OzoneManagerLock
class.
URL: https://github.com/apache/hadoop/pull/1006#issuecomment-505216398
 
 
   :broken_heart: **-1 overall**
   
   
   
   
   
   
   | Vote | Subsystem | Runtime | Comment |
   |:----:|----------:|--------:|:--------|
   | 0 | reexec | 32 | Docker mode activated. |
   ||| _ Prechecks _ |
   | +1 | dupname | 0 | No case conflicting files found. |
   | +1 | @author | 0 | The patch does not contain any @author tags. |
   | +1 | test4tests | 0 | The patch appears to include 2 new or modified test files. |
   ||| _ trunk Compile Tests _ |
   | 0 | mvndep | 21 | Maven dependency ordering for branch |
   | +1 | mvninstall | 472 | trunk passed |
   | +1 | compile | 256 | trunk passed |
   | +1 | checkstyle | 67 | trunk passed |
   | +1 | mvnsite | 0 | trunk passed |
   | +1 | shadedclient | 799 | branch has no errors when building and testing our client artifacts.
|
   | +1 | javadoc | 148 | trunk passed |
   | 0 | spotbugs | 305 | Used deprecated FindBugs config; considering switching to SpotBugs.
|
   | +1 | findbugs | 493 | trunk passed |
   ||| _ Patch Compile Tests _ |
   | 0 | mvndep | 29 | Maven dependency ordering for patch |
   | +1 | mvninstall | 417 | the patch passed |
   | +1 | compile | 242 | the patch passed |
   | +1 | javac | 242 | the patch passed |
   | +1 | checkstyle | 62 | the patch passed |
   | +1 | mvnsite | 0 | the patch passed |
   | +1 | whitespace | 0 | The patch has no whitespace issues. |
   | +1 | shadedclient | 623 | patch has no errors when building and testing our client artifacts.
|
   | +1 | javadoc | 141 | the patch passed |
   | +1 | findbugs | 501 | the patch passed |
   ||| _ Other Tests _ |
   | +1 | unit | 229 | hadoop-hdds in the patch passed. |
   | -1 | unit | 1170 | hadoop-ozone in the patch failed. |
   | +1 | asflicense | 36 | The patch does not generate ASF License warnings. |
   | | | 5859 | |
   
   
   | Reason | Tests |
   |-------:|:------|
   | Failed junit tests | hadoop.ozone.client.rpc.TestWatchForCommit |
   |   | hadoop.ozone.client.rpc.TestOzoneRpcClient |
   |   | hadoop.ozone.TestStorageContainerManager |
   |   | hadoop.ozone.client.rpc.TestOzoneRpcClientWithRatis |
   |   | hadoop.ozone.client.rpc.TestSecureOzoneRpcClient |
   |   | hadoop.ozone.client.rpc.TestFailureHandlingByClient |
   |   | hadoop.ozone.client.rpc.TestOzoneAtRestEncryption |
   
   
   | Subsystem | Report/Notes |
   |----------:|:-------------|
   | Docker | Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1006/8/artifact/out/Dockerfile
|
   | GITHUB PR | https://github.com/apache/hadoop/pull/1006 |
   | Optional Tests | dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient
findbugs checkstyle |
   | uname | Linux afba5320c9cd 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018
x86_64 x86_64 x86_64 GNU/Linux |
   | Build tool | maven |
   | Personality | personality/hadoop.sh |
   | git revision | trunk / 129576f |
   | Default Java | 1.8.0_212 |
   | unit | https://builds.apache.org/job/hadoop-multibranch/job/PR-1006/8/artifact/out/patch-unit-hadoop-ozone.txt
|
   |  Test Results | https://builds.apache.org/job/hadoop-multibranch/job/PR-1006/8/testReport/
|
   | Max. process+thread count | 5072 (vs. ulimit of 5500) |
   | modules | C: hadoop-hdds/common hadoop-ozone/common U: . |
   | Console output | https://builds.apache.org/job/hadoop-multibranch/job/PR-1006/8/console
|
   | versions | git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1 |
   | Powered by | Apache Yetus 0.10.0 http://yetus.apache.org |
   
   
   This message was automatically generated.
   
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 266209)
    Time Spent: 3.5h  (was: 3h 20m)

> Create new OzoneManagerLock class
> ---------------------------------
>
>                 Key: HDDS-1723
>                 URL: https://issues.apache.org/jira/browse/HDDS-1723
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>          Components: Ozone Manager
>            Reporter: Bharat Viswanadham
>            Assignee: Bharat Viswanadham
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 3.5h
>  Remaining Estimate: 0h
>
> This Jira is to use bit manipulation, instead of hashmap in OzoneManager lock logic.
And also this Jira follows the locking order based on the document attached to HDDS-1672 jira.
> This Jira is created based on [~anu] comment during review of HDDS-1672.
> Not a suggestion for this patch. But more of a question, should we just maintain a bitset
here, and just flip that bit up and down to see if the lock is held. Or we can just maintain
32 bit integer, and we can easily find if a lock is held by Xoring with the correct mask.
I feel that might be super efficient. [@nandakumar131|https://github.com/nandakumar131] .
But as I said let us not do that in this patch.
>  
> This Jira will add new class, integration of this new class into code will be done in
a new jira. 
> Clean up of old code also will be done in new jira.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message