Github user ijokarumawak commented on a diff in the pull request:
https://github.com/apache/nifi/pull/2007#discussion_r128684447
--- Diff:
nifi-nar-bundles/nifi-hadoop-bundle/nifi-hdfs-processors/src/main/java/org/apache/nifi/processors/hadoop/PutHDFS.java
---
@@ -386,11 +388,14 @@ public void process(InputStream in) throws
IOException {
});
}
- protected void changeOwner(final ProcessContext context, final
FileSystem hdfs, final Path name) {
+ protected void changeOwner(final ProcessContext context, final
FileSystem hdfs, final Path name, final FlowFile flowFile) {
try {
// Change owner and group of file if configured to do so
- String owner = context.getProperty(REMOTE_OWNER).getValue();
- String group = context.getProperty(REMOTE_GROUP).getValue();
+// String owner = context.getProperty(REMOTE_OWNER).getValue();
+// String group = context.getProperty(REMOTE_GROUP).getValue();
--- End diff --
Please removed these old lines. We don't have to keep old code unless if
there's a strong needs.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---