You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by sanoj-mg <gi...@git.apache.org> on 2017/04/06 08:27:37 UTC

[GitHub] incubator-carbondata pull request #749: [CARBONDATA-854] Datastax CFS file s...

GitHub user sanoj-mg opened a pull request:

    https://github.com/apache/incubator-carbondata/pull/749

    [CARBONDATA-854] Datastax CFS file system support

    Added support for CFS filesystem for Datastax DSE. 
    
    Tested with DSE 5.0.4 in standalone mode from spark shell. 
    
    Successfully executed below sequence to load data into carbondata table.
    
    val cc = new CarbonContext(sc, "cfs://127.0.0.1/opt/CarbonStore")
    val df = cc.read.parquet("file:///home/cassandra/test.parquet")
    df.write.format("carbondata").option("tableName", "test").option("compress", "true").mode(SaveMode.Overwrite).save()
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sanoj-mg/incubator-carbondata CARBONDATA-854-Datastax-DSE-support

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-carbondata/pull/749.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #749
    
----
commit d0dde1a0b1db60a3d12f9678710f95040903b5c6
Author: Sanoj MG <sa...@gmail.com>
Date:   2017-04-05T18:08:07Z

    Added support for Datastax CFS file system

commit 45e672953eb7c33936a5c7a59ddc845bc4dde5b6
Author: Sanoj MG <m....@habibbank.com>
Date:   2017-04-06T08:25:15Z

    Fixed formatting issues

----


---
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-carbondata issue #749: [CARBONDATA-854] Datastax CFS file system s...

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

    https://github.com/apache/incubator-carbondata/pull/749
  
    Build Success with Spark 1.6.2, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder/1627/



---
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-carbondata issue #749: [CARBONDATA-854] Datastax CFS file system s...

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

    https://github.com/apache/incubator-carbondata/pull/749
  
    Build Success with Spark 1.6.2, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder/1475/



---
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-carbondata issue #749: [CARBONDATA-854] Datastax CFS file system s...

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

    https://github.com/apache/incubator-carbondata/pull/749
  
    Can one of the admins verify this patch?


---
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-carbondata issue #749: [CARBONDATA-854] Datastax CFS file system s...

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

    https://github.com/apache/incubator-carbondata/pull/749
  
    @ravipesala Added comments to CFSCarbonFile.java


---
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-carbondata pull request #749: [CARBONDATA-854] Datastax CFS file s...

Posted by sanoj-mg <gi...@git.apache.org>.
Github user sanoj-mg commented on a diff in the pull request:

    https://github.com/apache/incubator-carbondata/pull/749#discussion_r111581671
  
    --- Diff: core/src/main/java/org/apache/carbondata/core/datastore/filesystem/CFSCarbonFile.java ---
    @@ -0,0 +1,122 @@
    +/*
    + * Licensed to the Apache Software Foundation (ASF) under one or more
    + * contributor license agreements.  See the NOTICE file distributed with
    + * this work for additional information regarding copyright ownership.
    + * The ASF licenses this file to You under the Apache License, Version 2.0
    + * (the "License"); you may not use this file except in compliance with
    + * the License.  You may obtain a copy of the License at
    + *
    + *    http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing, software
    + * distributed under the License is distributed on an "AS IS" BASIS,
    + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + * See the License for the specific language governing permissions and
    + * limitations under the License.
    + */
    +package org.apache.carbondata.core.datastore.filesystem;
    +
    +import java.io.IOException;
    +import java.util.ArrayList;
    +import java.util.List;
    +
    +import org.apache.carbondata.common.logging.LogService;
    +import org.apache.carbondata.common.logging.LogServiceFactory;
    +import org.apache.carbondata.core.datastore.impl.FileFactory;
    +
    +import org.apache.hadoop.fs.FileStatus;
    +import org.apache.hadoop.fs.FileSystem;
    +import org.apache.hadoop.fs.Path;
    +
    +
    +public class CFSCarbonFile extends AbstractDFSCarbonFile {
    --- End diff --
    
    @ravipesala Added comments to CFSCarbonFile.java


---
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-carbondata issue #749: [CARBONDATA-854] Datastax CFS file system s...

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

    https://github.com/apache/incubator-carbondata/pull/749
  
    add to whitelist


---
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-carbondata pull request #749: [CARBONDATA-854] Datastax CFS file s...

Posted by ravipesala <gi...@git.apache.org>.
Github user ravipesala commented on a diff in the pull request:

    https://github.com/apache/incubator-carbondata/pull/749#discussion_r111532440
  
    --- Diff: core/src/main/java/org/apache/carbondata/core/datastore/filesystem/CFSCarbonFile.java ---
    @@ -0,0 +1,122 @@
    +/*
    + * Licensed to the Apache Software Foundation (ASF) under one or more
    + * contributor license agreements.  See the NOTICE file distributed with
    + * this work for additional information regarding copyright ownership.
    + * The ASF licenses this file to You under the Apache License, Version 2.0
    + * (the "License"); you may not use this file except in compliance with
    + * the License.  You may obtain a copy of the License at
    + *
    + *    http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing, software
    + * distributed under the License is distributed on an "AS IS" BASIS,
    + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + * See the License for the specific language governing permissions and
    + * limitations under the License.
    + */
    +package org.apache.carbondata.core.datastore.filesystem;
    +
    +import java.io.IOException;
    +import java.util.ArrayList;
    +import java.util.List;
    +
    +import org.apache.carbondata.common.logging.LogService;
    +import org.apache.carbondata.common.logging.LogServiceFactory;
    +import org.apache.carbondata.core.datastore.impl.FileFactory;
    +
    +import org.apache.hadoop.fs.FileStatus;
    +import org.apache.hadoop.fs.FileSystem;
    +import org.apache.hadoop.fs.Path;
    +
    +
    +public class CFSCarbonFile extends AbstractDFSCarbonFile {
    --- End diff --
    
    Please add comments to the class


---
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.
---