You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Patrick Wendell (JIRA)" <ji...@apache.org> on 2014/09/03 02:34:52 UTC

[jira] [Resolved] (SPARK-3346) Error happened in using memcached

     [ https://issues.apache.org/jira/browse/SPARK-3346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Wendell resolved SPARK-3346.
------------------------------------
    Resolution: Invalid

Would you mind reporting this to the user list? We use JIRA only for issues that have been diagnosed in more detail. Also, please include the source code on the user list, that will make it easier to debug.

> Error happened in using memcached
> ---------------------------------
>
>                 Key: SPARK-3346
>                 URL: https://issues.apache.org/jira/browse/SPARK-3346
>             Project: Spark
>          Issue Type: Bug
>         Environment: CDH5.1.0
> Spark1.0.0
>            Reporter: Gavin Zhang
>
> I finished a distributed project in hadoop streaming and it worked fine with using memcached storage during mapping. Actually, it's a python project.
> Now I want to move it to Spark. But when I called the memcached library, two errors was found during computing. (Both)
> 1. File "memcache.py", line 414, in get
>     rkey, rlen = self._expectvalue(server)
> ValueError: too many values to unpack
> 2.   File "memcache.py", line 714, in check_key
>     return key.translate(ill_map)
> TypeError: character mapping must return integer, None or unicode
> After adding exception handing, there was no successful cache got at all. However, it works in hadoop streaming without any error. Why?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org