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

Regex Bug #468

Open
dpelkmann opened this issue Sep 11, 2019 · 1 comment
Open

Regex Bug #468

dpelkmann opened this issue Sep 11, 2019 · 1 comment

Comments

@dpelkmann
Copy link

Hello streamparse,

thanks for the hint (#303), that for a hdp cluster we have to insert the Hortonworks Storm Release Repo.

In my special case, I have a HDP Storm version which is not recognized by the regex expression in following function:
https://github.com/Parsely/streamparse/blob/82199b1c409d07201b23e2d9d0f39b604ffec6a6/streamparse/util.py#L368-L384

My HDP Storm version is: 1.2.1.3.0.0.0-1634 and I got a version conflict because the hyphen was recognized in the configuration file but ignored in the above function. For me the following addition of the hyphen helped:

pattern = r"Storm ([-0-9.]+)"

Best regards
David

@doshu
Copy link

doshu commented Oct 4, 2019

I am going to open the same issue. I confirm the bug and the proposed solution.

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

No branches or pull requests

2 participants