You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@fluo.apache.org by keith-turner <gi...@git.apache.org> on 2016/12/16 21:42:24 UTC

[GitHub] incubator-fluo issue #813: Look into making FluoConfiguration Serializable

GitHub user keith-turner opened an issue:

    https://github.com/apache/incubator-fluo/issues/813

    Look into making FluoConfiguration Serializable

    Was looking into writing a Spark code using Fluo.  I was expecting FluoConfiguration to be serializable and it was not.

----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-fluo issue #813: Look into making FluoConfiguration Serializable

Posted by keith-turner <gi...@git.apache.org>.
Github user keith-turner commented on the issue:

    https://github.com/apache/incubator-fluo/issues/813
  
    In the next release of Fluo, FluoConfiguration will be serializable.  There are many ways to work around this issue before the next release.  Below is an example of one way.
    
    ```java
    void doFluoStuff(FluoConfiguration fconf, JavaRDD<?> someRdd){
      //this map is serializable
      Map<String, String> confMap = fconf.toMap();
    
      someRdd.foreachPartition(iter->{
        FluoConfiguration fconf = new FluoConfiguration(confMap);
        try(FluoClient client = FluoFactory.newClient(fconf)){
          //do fluo stuff
        }
      }
    }
    ```



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-fluo issue #813: Look into making FluoConfiguration Serializable

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the issue at:

    https://github.com/apache/incubator-fluo/issues/813


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---