Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Nifi:count similar filenames in hdfs directory  RSS feed

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

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!