[ 
https://issues.apache.org/jira/browse/HDFS-13018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16336358#comment-16336358
 ] 

Elek, Marton commented on HDFS-13018:
-------------------------------------

Thanks to [Sebastian Graf|http://example.com/], the jscsi project is updated. 
Now we can use the new configuration values. I uploaded the patch.

To test it:
 * Create a cblock custer, or you can use the docker-compose file from 
HDFS-12983
 * Set the new configuration (in case of compose file add 
OZONE-SITE.XML_dfs.cblock.iscsi.advertised.port=3261 to the docker-config)
 * Create a cblock (docker-compose exec cblock hdfs cblock -c bilbo volume2 1GB 
4)
 * Check the discovery: sudo iscsiadm -m discovery -t st -p localhost:3260
 * The result should contain the modified port: 0.0.0.0:3261,1 bilbo:volume2

> Block Storage: make the iscsi target addres configurable for discovery
> ----------------------------------------------------------------------
>
>                 Key: HDFS-13018
>                 URL: https://issues.apache.org/jira/browse/HDFS-13018
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>    Affects Versions: HDFS-7240
>            Reporter: Elek, Marton
>            Assignee: Elek, Marton
>            Priority: Major
>         Attachments: HDFS-13018-HDFS-7240.001.patch, 
> HDFS-13018-HDFS-7240.002.patch
>
>
> Current jscsi server returns with the targetAddress (as ip) and 3260 (as 
> port) during the iscsi discovery. But in some cases we need to configure 
> these values.
> For example in kubernetes the iscsi server could run behind a service where 
> the address (where the jscsi server is available from the cluster) could be 
> different from the targetAddress where the server is listening.
> I propose to add two more configuration key to override the default 
> address/port for configuration but it also requires modification in the jscsi 
> project.



--
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