hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Marquardt (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14569) NativeAzureFileSystem, AzureBlobStorageTestAccount to have useful toString() values
Date Wed, 02 Aug 2017 18:09:00 GMT

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

Thomas Marquardt commented on HADOOP-14569:
-------------------------------------------

Trying to understand this better.  How would this be used?  Is it primarily for unit testing?
 When I run tests, I know the account name and container name and don't have a need for it
in the logs. I would however find it useful to access certain metrics in my test, for example
to verify that the number of open files equals the number of closed files at the end of my
test.  This is already done in TestAzureFileSystemInstrumentation.java, but perhaps it could
be improved and become a more generally usable utility.

> NativeAzureFileSystem, AzureBlobStorageTestAccount to have useful toString() values
> -----------------------------------------------------------------------------------
>
>                 Key: HADOOP-14569
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14569
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/azure
>    Affects Versions: 2.8.1
>            Reporter: Steve Loughran
>            Priority: Minor
>
> {{NativeAzureFileSystem.toString()}},  and {{AzureBlobStorageTestAccount.toString()}}
should return data meaningful in logging & test runs
> * account name
> * container name/status
> * ideally, FS instrumentation statistics
> * + not to NPE if invoked before calling FileSystem.initialize(), or after being closed.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message