-
Notifications
You must be signed in to change notification settings - Fork 81
Conversation
</parent> | ||
|
||
<properties> | ||
<start-class>org.springframework.cloud.stream.module.hdfs.dataset.DatasetSinkApplication</start-class> |
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.
Looks like should be this one org.springframework.cloud.stream.module.dataset.sink
...
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.
Indeed, forgot to change this after changing the package name. Fixing.
Object payload = message.getPayload(); | ||
if (payload instanceof Collection<?>) { | ||
Collection<?> payloads = (Collection<?>) payload; | ||
if (logger.isDebugEnabled()) { |
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.
Others have nitpicked to me that with slf4j logger.isDebugEnabled()
is not needed anymore if you use parameterized messages within a log statement. Thought if you don't change debug call then this is needed. Nitpicking... :)
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.
ok, changing the logging
I have some issues with Running local
Tried to use
With
I don't see
|
Yes, I'm seeing same |
Interesting, it seems that I don't get
and wait first file to be written. If I do:
there's no files written(if I don't wait full default batch size) and I get error. It's worth to check if we get this error only if no data is flushed, thus no interaction with kite, thus there would not be any existing open hadoop FileSystem's. |
damn, I take it back. This error doesn't happen every stream undeploy. |
Right, it has to be
|
- Ported existing Spring XD hdfs-dataset sink module
- Addressing review comments/suggestions
- Addressing some deployment issues
- Fixing tests after we removed the autoconfigured FsShell
- Adding crreation of separate configuration for `--fsUri` option
- Adding bean to control FileSystem close, rather than rely on shutdown hook registered by Hadoop
- Remove unused configuration
8f5f0b5
to
152ef7f
Compare
Rebased |
squashed and merged per 3181e73 |
This resolves #105.