-
Notifications
You must be signed in to change notification settings - Fork 547
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
Various Data Template generation issues on Windows #287
Comments
(Adding to this issue as it falls under "Various" Data Template generation issues, but I'm not seeing the exact same error; let me know if you'd prefer me to split this out as a separate issue). I'm seeing errors of the following form on Windows when building the linkedin/datahub project, for every single PDL file:
The earlier debug log outputs the following:
... Which reveals the problem. The root cause is the line that replaces File.separatorChar with '.'. At this point in the code, it's working with URIs (which always use forward slashes, by definition), rather than file paths. So I think it should be replacing |
@evanw555 seems like @hgcummings has found the root cause. Could you look into a fix? |
Thanks Mars, we already have internal task tracking this issue |
Any update @junchuanwang? Another custom is encountering a similar issue when building DataHub. |
@mars-lan Last time our team reviewed the task, we de-prioritized it. But since now there are more customer asking for the fix, we will review it again to see if we have resource to prioritize |
The specific error mentioned by @hgcummings looks like it may have been solved in https://github.com/linkedin/rest.li/pull/448/files#diff-1ccaa495740d8d078ae73b8dcaff97f17d465f1403ed2c2b8a2342472db7e372L218, which was committed in the last day or two. |
@evanw555 This is most likely related to how windows treats the paths in file system.
|
We acknowledge the issue. We do not officially support Windows. We don't have plan to support Windows at the moment, if this becomes urgent, please feel free to discuss the priority. |
I'd also like to voice preference for getting this data template generation working on Windows as this is preventing us from building DataHub on Windows natively. |
On the point of support for Windows, I think there's some value in template generation working, even if DataHub itself isn't expected to run on Windows. It's fine to run DataHub itself in a container, but being able to populate it from a Windows machine can be quite useful in some scenarios, and the ingestion scripts depend on the data templates. (I have previously resorted to generating the templates in a container then copying them back to the Windows host.) |
Can this problem be solved in the future? |
Having the save problem on windows. Hope to support compiling and building on windows. |
1 similar comment
Having the save problem on windows. Hope to support compiling and building on windows. |
generateDataTemplate
task failed with the following error when running on Windows.The same Pegasus models build fine on Mac & Linux. See datahub-project/datahub#1640 for more details.
The text was updated successfully, but these errors were encountered: