[ https://issues.apache.org/jira/browse/BEAM-4752?focusedWorklogId=123017&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-123017 ]
ASF GitHub Bot logged work on BEAM-4752: ---------------------------------------- Author: ASF GitHub Bot Created on: 13/Jul/18 19:56 Start Date: 13/Jul/18 19:56 Worklog Time Spent: 10m Work Description: aaltay opened a new pull request #5949: [BEAM-4752] Add dill compatibility for older versions of dill URL: https://github.com/apache/beam/pull/5949 Fixing the post commit issue related to older dill version. R: @charlesccychen ------------------------ Follow this checklist to help us incorporate your contribution quickly and easily: - [ ] Format the pull request title like `[BEAM-XXX] Fixes bug in ApproximateQuantiles`, where you replace `BEAM-XXX` with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue. - [ ] If this contribution is large, please file an Apache [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf). It will help us expedite review of your Pull Request if you tag someone (e.g. `@username`) to look at it. Post-Commit Tests Status (on master branch) ------------------------------------------------------------------------------------------------ Lang | SDK | Apex | Dataflow | Flink | Gearpump | Samza | Spark --- | --- | --- | --- | --- | --- | --- | --- Go | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Go_GradleBuild/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Go_GradleBuild/lastCompletedBuild/) | --- | --- | --- | --- | --- | --- Java | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_GradleBuild/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_GradleBuild/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Apex_Gradle/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Apex_Gradle/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow_Gradle/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow_Gradle/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink_Gradle/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink_Gradle/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Gearpump_Gradle/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Gearpump_Gradle/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza_Gradle/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza_Gradle/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Spark_Gradle/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Spark_Gradle/lastCompletedBuild/) Python | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Python_Verify/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Python_Verify/lastCompletedBuild/) | --- | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Py_VR_Dataflow/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Py_VR_Dataflow/lastCompletedBuild/) </br> [![Build Status](https://builds.apache.org/job/beam_PostCommit_Py_ValCont/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Py_ValCont/lastCompletedBuild/) | --- | --- | --- | --- ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 123017) Time Spent: 2h 20m (was: 2h 10m) > Import error in apache_beam.internal.pickler: "'module' object has no > attribute 'dill'" > --------------------------------------------------------------------------------------- > > Key: BEAM-4752 > URL: https://issues.apache.org/jira/browse/BEAM-4752 > Project: Beam > Issue Type: Bug > Components: sdk-py-core > Affects Versions: 2.4.0 > Environment: CentOS Linux release 7.4.1708 > Python 2.7.13 > Reporter: Barry Hart > Assignee: Ahmet Altay > Priority: Major > Fix For: 2.4.0 > > Time Spent: 2h 20m > Remaining Estimate: 0h > > I'm seeing the following error (stack trace below). I looked at the module > structure of the {{dill}} library, and it does not have a {{dill}} submodule > (although it *does* have a {{_dill}} submodule). I think the correct way to > reference {{Pickler}} is simply {{dill.Pickler.}} > {noformat} > Traceback (most recent call last): > File "script/beam_run_model.py", line 29, in <module> > import apache_beam as beam > File > "/usr/local/pyenv/versions/2.7.13/lib/python2.7/site-packages/apache_beam/__init__.py", > line 84, in <module> > import apache_beam.internal.pickler > File > "/usr/local/pyenv/versions/2.7.13/lib/python2.7/site-packages/apache_beam/internal/pickler.py", > line 107, in <module> > dill.dill.Pickler.dispatch[type]) > AttributeError: 'module' object has no attribute 'dill'{noformat} > Oddly, I have successfully used Beam 2.4.0 in the past with this version of > Dill. ¯_(ツ)_/¯ -- This message was sent by Atlassian JIRA (v7.6.3#76005)