[
https://issues.apache.org/jira/browse/HDDS-1490?focusedWorklogId=254538&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-254538
]
ASF GitHub Bot logged work on HDDS-1490:
----------------------------------------
Author: ASF GitHub Bot
Created on: 05/Jun/19 18:14
Start Date: 05/Jun/19 18:14
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 where we only add the
topology related xml files to testResources explicitly. In this case, I think
we will need to add the mokito-extensions from the test/resources as well
explicitly. This is need to surpress the warning 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: 254538)
Time Spent: 1h 20m (was: 1h 10m)
> 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: 1h 20m
> 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]