I want to use getFileSytem() for pulling in any file that is newer than the
timestamp that we have but I can't import it (I mean getFileSytem()) I have
this code:
final FileSystem hdfs = getFileSystem();
final boolean recursive = context.getProperty(RECURSE_SUBDIRS).asBoolean();
final Set status
Are you doing the appropriate import static statement to import that static
method?
On Fri, Nov 3, 2017 at 2:40 AM, sally wrote:
> I want to use getFileSytem() for pulling in any file that is newer than the
> timestamp that we have but I can't import it (I mean getFileSytem()) I have
> this code
Yes , but when i add this static import i can't run maven
project ( it doesn't support static imports)
--
Sent from: http://apache-nifi-users-list.2361937.n4.nabble.com/
Maven doesn't handle static imports, that's either a Java or Groovy
compiler issue. So all Maven is telling you is that there is something
wrong between your import statement syntax and the declared dependencies.
Without more than that, I can't really give you an idea of what's wrong.
On Tue, Nov