Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Nifi:count similar filenames in hdfs directory  RSS feed

 
Greenhorn
Posts: 4
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

down vote
favorite
I want to get real name of file from one previous flowfile and then match how many flowfile with this name exists in certain directory , here is my code but it trows exception which tells that startup failed because unexpected char 0XFFFF, here is my code what should i change?

how should i connect certain hadoop directory?
if my configuration details are placed in xml how can i connect to hdfs directory?

import org.apache.commons.io.IOUtils import java.nio.charset.StandardCharsets

 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!