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

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

                Author: ASF GitHub Bot
            Created on: 05/Jun/19 18:21
            Start Date: 05/Jun/19 18:21
    Worklog Time Spent: 10m 
      Work Description: xiaoyuyao commented on issue #903: HDDS-1490. Support 
configurable container placement policy through 'o…
URL: https://github.com/apache/hadoop/pull/903#issuecomment-499196069
 
 
   bq. Cannot mock/spy class org.apache.hadoop.ozone.om.OzoneManager
   Mockito cannot mock/spy because :final class
   
   I think this is related to the change in the pom.xml
   As seen in the screen snapshot: ![Screen Shot 2019-06-05 at 11 16 43 
AM](https://user-images.githubusercontent.com/7039184/58979837-cbbae700-8783-11e9-9159-6161593c85ba.png)
   
   we only add the topology related xml files to testResources explicitly, but 
the mokito-extensions from the test/resources is missing, which is need to 
surpress the warning above. I believe if we add the following to the pom should 
fix the issue above.
   
        <testResource>
          <directory>${basedir}/src/test/resources</directory>
        </testResource>
   
   Also, please fix the checkstyle issue in the next commit. 
   
   
 
----------------------------------------------------------------
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:
[email protected]


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

    Worklog Id:     (was: 254552)
    Time Spent: 1.5h  (was: 1h 20m)

> Support configurable container placement policy through 
> "ozone.scm.container.placement.classname"
> -------------------------------------------------------------------------------------------------
>
>                 Key: HDDS-1490
>                 URL: https://issues.apache.org/jira/browse/HDDS-1490
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>            Reporter: Sammi Chen
>            Assignee: Sammi Chen
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HDDS-1490.01.patch, HDDS-1490.02.patch, 
> HDDS-1490.03.patch, HDDS-1490.04.patch
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Support system property "ozone.scm.container.placement.classname" in 
> ozone-site.xml. User can specify the implementation class name as the value 
> of the property.  Here is an example, 
>  <property>
>     <name>ozone.scm.container.placement.classname</name>
>     
> <value>org.apache.hadoop.hdds.scm.container.placement.algorithms.SCMContainerPlacementRackAware</value>ß
>  </property>
> If this property is not set, then default 
> org.apache.hadoop.hdds.scm.container.placement.algorithms.SCMContainerPlacementRackAware
>  will be used. 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to