Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor connector to match Confluent HDFS connect 4.1.0 #21

Merged
merged 9 commits into from
Jul 4, 2018

Conversation

blootsvoets
Copy link
Contributor

@blootsvoets blootsvoets commented Jul 4, 2018

@yatharthranjan
Copy link
Member

yatharthranjan commented Jul 4, 2018

Will this work if we enable it with uncompressed data still there in hdfs?
What implications (if any) will this have on the extractor/restructure script?

@blootsvoets
Copy link
Contributor Author

The codec used for writing does not influence readers: the codec name stored in the metadata part of the file, and the reader will use that metadata to do correct decoding.

@blootsvoets blootsvoets changed the title Implement CodecFactory for writer Refactor connector to match Confluent HDFS connect 4.1.0 Jul 4, 2018
pom {
name = 'radar-hdfs-sink-connector'
description = 'A HDFS Sink connector for RADAR-CNS platform.'
url = 'https://github.com/RADAR-CNS/RADAR-HDFS-Sink-Connector.git'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'RADAR-base' ? or githubUrl

pkg {
repo = 'org.radarcns'
name = 'radar-hdfs-sink-connector'
userOrg = 'radar-cns'
licenses = ['Apache-2.0']
vcsUrl = 'https://github.com/RADAR-CNS/RADAR-HDFS-Sink-Connector.git'
vcsUrl = githubUrl
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this need .git suffix ? Because some cases it does not work without suffix for example cloning in travis

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the git version is recent enough, both with and without the .git suffix will work.

System.out.println(filePaths);
break;
}
} while (true);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we have a max retries constraint here to prevent infinite loop because of any problems

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a timeout on the method limiting it to two minutes.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah okay, missed that. Thanks

Copy link
Member

@yatharthranjan yatharthranjan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Will still need to test if #20 is indeed fixed with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants