-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metrics master #1117
Metrics master #1117
Conversation
private static final GoogleLogger logger = GoogleLogger.forEnclosingClass(); | ||
|
||
/** {@value} The key that stores all the registered metrics */ | ||
public static final String NAME = "GhfsGlobalStorageStatistics"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has to be same as that in 2.2.x, correct?
gcs/src/main/java/com/google/cloud/hadoop/fs/gcs/GhfsGlobalStorageStatistics.java
Outdated
Show resolved
Hide resolved
gcs/src/main/java/com/google/cloud/hadoop/fs/gcs/GhfsGlobalStorageStatistics.java
Outdated
Show resolved
Hide resolved
gcs/src/main/java/com/google/cloud/hadoop/fs/gcs/GoogleHadoopFSInputStream.java
Outdated
Show resolved
Hide resolved
gcs/src/main/java/com/google/cloud/hadoop/fs/gcs/GoogleHadoopFSInputStream.java
Outdated
Show resolved
Hide resolved
gcs/src/main/java/com/google/cloud/hadoop/fs/gcs/GoogleHadoopFileSystem.java
Outdated
Show resolved
Hide resolved
gcs/src/main/java/com/google/cloud/hadoop/fs/gcs/GoogleHadoopOutputStream.java
Show resolved
Hide resolved
@Before | ||
public void setUp() throws IOException { | ||
ghfs = GoogleHadoopFileSystemTestHelper.createInMemoryGoogleHadoopFileSystem(); | ||
// gcsFsIHelper = GoogleCloudStorageFileSystemIntegrationHelper.create(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because we are not really using gcsFsIHelper in the tests.
@@ -53,14 +54,19 @@ public class GoogleHadoopOutputStreamTest { | |||
|
|||
private GoogleHadoopFileSystem ghfs; | |||
|
|||
// private static GoogleCloudStorageFileSystemIntegrationHelper gcsFsIHelper; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove?
/gcbrun |
2 similar comments
/gcbrun |
/gcbrun |
This PR does 2 things:
Adding GCS specific statistics :