Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

TAJO-1855: Add document for tablespace configuration to the Configuration chapter. #873

Closed
wants to merge 14 commits into from

Conversation

eminency
Copy link
Contributor

@hyunsik , @jihoonson
I added a document describing tablespace feature -exactly speaking, for storage-site.json.
Please review that.

Thanks.


* **space name** : Your own table space name which indicates a specific table space. Alpha-numeric characters and underscore(_) are permitted.
* **uri** : An URI address of a table space
* **config** : It is optional. You can specify it as JSON object to pass to each table space handler.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be configs instead of config.

@hyunsik
Copy link
Member

hyunsik commented Nov 26, 2015

Even though, we need more description for them, the current patch looks good to me. Later, we can improve it. I leaved some comments. Please correct them.

@@ -39,6 +42,8 @@ The following is an example for two tablespaces for hbase and hdfs:
}
}

For more tails, see :doc:`conf/storage-site.json</configuration/storage-site-json>`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tails -> details

* typo is fixed
* master:
  TAJO-1983: Improve memory usage of ExternalSortExec.
  TAJO-1967: Replace 'try finally' with 'try' with resources.
  TAJO-1947: Change Projection::setNamedExprs and getNamedExprs to set and get List<NamedExpr>.
  TAJO-1857: Rename the section of 'File Formats' to 'Data Formats' and fill compression section of the 'Table Management' chapter.
  TAJO-1862: TSQL gives user wrong URL of documentation.
  TAJO-1986: Rename the name 'option' to 'property' in TableMeta.
  TAJO-1988: Remove some duplicated codes in toString() of Projectable.
@eminency
Copy link
Contributor Author

Comments are applied.

# Conflicts:
#	tajo-docs/src/main/sphinx/table_management/tablespaces.rst
--------

This is for registering storage format and custom storage handler class.
Tajo already supports HDFS, HBase, PostgreSQL, Amazon S3, Openstack Swift, etc, thus in usual cases using mentioned storages, you don't have to use ``storages`` configuration.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest you don't have to add any ``storages`` configuration.

@eminency
Copy link
Contributor Author

eminency commented Dec 1, 2015

Good advices.
Comments are applied, @jihoonson

This is for registering storage format and custom storage handler class.
Tajo already supports HDFS, HBase, PostgreSQL, Amazon S3, Openstack Swift, etc, thus in usual cases using mentioned storages, you don't have to add any ``storages`` configuration.
However, if you want to use your custom storage as one of Tajo's data source, you need to add a configuration for your storage. Here is an example of HDFS storage.
See `:doc:storage_plugins/overview` for more information.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is my mistake. Please fix to :doc:storage_plugins/overview``

@jihoonson
Copy link
Contributor

+1 thanks for quick update.

@asfgit asfgit closed this in f2552bf Dec 2, 2015
@eminency eminency deleted the TAJO-1855 branch March 11, 2016 16:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants