Added: tajo/site/docs/0.10.0/time_zone.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/0.10.0/time_zone.html?rev=1665114&view=auto
==============================================================================
--- tajo/site/docs/0.10.0/time_zone.html (added)
+++ tajo/site/docs/0.10.0/time_zone.html Mon Mar  9 02:35:26 2015
@@ -0,0 +1,350 @@
+
+
+<!DOCTYPE html>
+<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
+<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
+<head>
+  <meta charset="utf-8">
+  <meta name="viewport" content="width=device-width, initial-scale=1.0">
+  
+  <title>Time Zone &mdash; Apache Tajo 0.8.0 documentation</title>
+  
+
+  
+  
+
+  
+  <link 
href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700'
 rel='stylesheet' type='text/css'>
+
+  
+  
+    
+
+  
+
+  
+  
+    <link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
+  
+
+  
+    <link rel="top" title="Apache Tajo 0.8.0 documentation" href="index.html"/>
+        <link rel="next" title="Functions" href="functions.html"/>
+        <link rel="prev" title="Predicates" 
href="sql_language/predicates.html"/> 
+
+  
+  <script 
src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js";></script>
+
+</head>
+
+<body class="wy-body-for-nav" role="document">
+
+  <div class="wy-grid-for-nav">
+
+    
+    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
+      <div class="wy-side-nav-search">
+        <a href="index.html" class="fa fa-home"> Apache Tajo</a>
+        <div role="search">
+  <form id ="rtd-search-form" class="wy-form" action="search.html" 
method="get">
+    <input type="text" name="q" placeholder="Search docs" />
+    <input type="hidden" name="check_keywords" value="yes" />
+    <input type="hidden" name="area" value="default" />
+  </form>
+</div>
+      </div>
+
+      <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" 
aria-label="main navigation">
+        
+        
+            <ul class="current">
+<li class="toctree-l1"><a class="reference internal" 
href="introduction.html">Introduction</a></li>
+<li class="toctree-l1"><a class="reference internal" 
href="getting_started.html">Getting Started</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="getting_started.html#prerequisites">Prerequisites</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="getting_started.html#dowload-and-unpack-the-source-code">Dowload and 
unpack the source code</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="getting_started.html#build-source-code">Build source code</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="getting_started.html#setting-up-a-local-tajo-cluster">Setting up a local 
Tajo cluster</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="getting_started.html#first-query-execution">First query execution</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="configuration.html">Configuration</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="configuration/preliminary.html">Preliminary</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="configuration/cluster_setup.html">Cluster Setup</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="configuration/tajo_master_configuration.html">Tajo Master 
Configuration</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="configuration/worker_configuration.html">Worker Configuration</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="configuration/catalog_configuration.html">Catalog Configuration</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="configuration/ha_configuration.html">High Availability for 
TajoMaster</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="configuration/service_config_defaults.html">Cluster Service Configuration 
Defaults</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="configuration/tajo-site-xml.html">The tajo-site.xml File</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="configuration/catalog-site-xml.html">The catalog-site.xml File</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="tsql.html">Tajo 
Shell (TSQL)</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="tsql/meta_command.html">Meta Commands</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="tsql/dfs_command.html">Executing HDFS commands</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="tsql/variables.html">Session Variables</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="tsql/admin_command.html">Administration Commands</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="tsql/intro.html">Introducing to TSQL</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="tsql/single_command.html">Executing a single command</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="tsql/execute_file.html">Executing Queries from Files</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="tsql/background_command.html">Executing as background process</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="sql_language.html">SQL Language</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="sql_language/data_model.html">Data Model</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="sql_language/ddl.html">Data Definition Language</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="sql_language/insert.html">INSERT (OVERWRITE) INTO</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="sql_language/queries.html">Queries</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="sql_language/sql_expression.html">SQL Expressions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="sql_language/predicates.html">Predicates</a></li>
+</ul>
+</li>
+<li class="toctree-l1 current"><a class="current reference internal" 
href="">Time Zone</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="#server-cluster-time-zone">Server Cluster Time Zone</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="#table-time-zone">Table Time Zone</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="#client-time-zone">Client Time Zone</a></li>
+<li class="toctree-l2"><a class="reference internal" href="#time-zone-id">Time 
Zone ID</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="#examples-of-time-zone">Examples of Time Zone</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="functions.html">Functions</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="functions/math_func_and_operators.html">Math Functions and 
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="functions/string_func_and_operators.html">String Functions and 
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="functions/datetime_func_and_operators.html">DateTime Functions and 
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="functions/network_func_and_operators.html">Network Functions and 
Operators</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="table_management.html">Table Management</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="table_management/table_overview.html">Overview of Tajo Tables</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="table_management/file_formats.html">File Formats</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="table_management/compression.html">Compression</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="table_partitioning.html">Table Partitioning</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="partitioning/intro_to_partitioning.html">Introduction to 
Partitioning</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="partitioning/column_partitioning.html">Column Partitioning</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="partitioning/range_partitioning.html">Range Partitioning</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="partitioning/hash_partitioning.html">Hash Partitioning</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="index_overview.html">Index (Experimental Feature)</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="index/types.html">Index Types</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="index/how_to_use.html">How to use index?</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="index/future_work.html">Future Works</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="backup_and_restore.html">Backup and Restore</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="backup_and_restore/catalog.html">Backup and Restore Catalog</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="hcatalog_integration.html">HCatalog Integration</a></li>
+<li class="toctree-l1"><a class="reference internal" 
href="hbase_integration.html">HBase Integration</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="hbase_integration.html#create-table">CREATE TABLE</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="hbase_integration.html#drop-table">DROP TABLE</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="hbase_integration.html#insert-overwrite-into">INSERT (OVERWRITE) 
INTO</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="hbase_integration.html#usage">Usage</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="jdbc_driver.html">Tajo JDBC Driver</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC driver</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="jdbc_driver.html#an-example-jdbc-client">An Example JDBC Client</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="jdbc_driver.html#faq">FAQ</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="tajo_client_api.html">Tajo Client API</a></li>
+<li class="toctree-l1"><a class="reference internal" 
href="faq.html">FAQ</a></li>
+</ul>
+
+        
+      </div>
+      &nbsp;
+    </nav>
+
+    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
+
+      
+      <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
+        <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
+        <a href="index.html">Apache Tajo</a>
+      </nav>
+
+
+      
+      <div class="wy-nav-content">
+        <div class="rst-content">
+          <div role="navigation" aria-label="breadcrumbs navigation">
+  <ul class="wy-breadcrumbs">
+    <li><a href="index.html">Docs</a> &raquo;</li>
+      
+    <li>Time Zone</li>
+      <li class="wy-breadcrumbs-aside">
+        
+          <a href="_sources/time_zone.txt" rel="nofollow"> View page source</a>
+        
+      </li>
+  </ul>
+  <hr/>
+</div>
+          <div role="main">
+            
+  <div class="section" id="time-zone">
+<h1>Time Zone<a class="headerlink" href="#time-zone" title="Permalink to this 
headline">¶</a></h1>
+<p>Time zone affects some data types (e.g., <tt class="docutils literal"><span 
class="pre">Timestamp</span></tt> and <tt class="docutils literal"><span 
class="pre">Time</span></tt>) and operations (e.g., <tt class="docutils 
literal"><span class="pre">to_char</span></tt>). Tables can have different time 
zones. Internally, Tajo translates all table rows to UTC values and processes 
them. It becomes easier for Tajo to handle multiple different time zones.</p>
+<p>In Tajo, there are some time zong settings.</p>
+<div class="section" id="server-cluster-time-zone">
+<h2>Server Cluster Time Zone<a class="headerlink" 
href="#server-cluster-time-zone" title="Permalink to this headline">¶</a></h2>
+<p>One Tajo cluster has a system time zone which globally affects all tables 
in which the table property &#8216;time zone&#8217; are not specified.</p>
+<p>You can set the system time zone in <em>conf/tajo-site.xml</em> file as 
follows:</p>
+<p><strong>tajo-site.xml</strong></p>
+<div class="highlight-xml"><div class="highlight"><pre><span 
class="nt">&lt;name&gt;</span>tajo.timezone<span class="nt">&lt;/name&gt;</span>
+<span class="nt">&lt;property&gt;</span>GMT+9<span 
class="nt">&lt;/property&gt;</span>
+</pre></div>
+</div>
+</div>
+<div class="section" id="table-time-zone">
+<h2>Table Time Zone<a class="headerlink" href="#table-time-zone" 
title="Permalink to this headline">¶</a></h2>
+<p>In Tajo, a table property <tt class="docutils literal"><span 
class="pre">timezone</span></tt> allows users to specify a time zone that the 
table uses for reading or writing.
+When each table row are read or written, <tt class="docutils literal"><span 
class="pre">`timestamp`</span></tt> and <tt class="docutils literal"><span 
class="pre">`time`</span></tt> column values are adjusted by a given time zone 
if it is set.</p>
+<p>You can specify a table time zone as follows:</p>
+<div class="highlight-sql"><div class="highlight"><pre><span 
class="k">CREATE</span> <span class="k">EXTERNAL</span> <span 
class="k">TABLE</span> <span class="n">table1</span> <span class="p">(</span>
+ <span class="n">t_timestamp</span>  <span class="k">TIMESTAMP</span><span 
class="p">,</span>
+ <span class="n">t_date</span>    <span class="nb">DATE</span>
+<span class="p">)</span> <span class="k">USING</span> <span 
class="nb">TEXT</span> <span class="k">WITH</span><span class="p">(</span><span 
class="s1">&#39;timezone&#39;</span><span class="o">=</span><span 
class="s1">&#39;ASIA/Seoul&#39;</span><span class="p">)</span> <span 
class="k">LOCATION</span> <span class="s1">&#39;/path-to-table/&#39;</span>
+</pre></div>
+</div>
+<p>In order to learn table properties, please refer to <a class="reference 
internal" href="table_management/table_overview.html"><em>Overview of Tajo 
Tables</em></a>.</p>
+</div>
+<div class="section" id="client-time-zone">
+<h2>Client Time Zone<a class="headerlink" href="#client-time-zone" 
title="Permalink to this headline">¶</a></h2>
+<p>Each client has its own time zone setting. It translates retrieved 
timestamp and time values by time zone. In order to set client time zone, you 
should set the session variable <tt class="docutils literal"><span 
class="pre">TIMEZONE</span></tt>. There are some ways to set this session 
variable.</p>
+<p>In <tt class="docutils literal"><span class="pre">tsql</span></tt>, you can 
use <tt class="docutils literal"><span class="pre">\set</span> <span 
class="pre">timezone</span></tt> meta command as follows:</p>
+<p><strong>tsql</strong></p>
+<div class="highlight-sh"><div class="highlight"><pre>default&gt; <span 
class="se">\s</span>et timezone GMT+9
+</pre></div>
+</div>
+<p>The following ways use SQL statements. So, this way is available in <tt 
class="docutils literal"><span class="pre">tsql</span></tt>, JDBC, and Tajo 
Java API.</p>
+<p><strong>SQL</strong></p>
+<div class="highlight-sql"><div class="highlight"><pre><span 
class="k">SET</span> <span class="n">TIME</span> <span class="k">ZONE</span> 
<span class="s1">&#39;GMT+9&#39;</span><span class="p">;</span>
+
+<span class="k">or</span>
+
+<span class="k">SET</span> <span class="k">SESSION</span> <span 
class="n">TIMEZONE</span> <span class="k">TO</span> <span 
class="s1">&#39;GMT+9&#39;</span><span class="p">;</span>
+</pre></div>
+</div>
+</div>
+<div class="section" id="time-zone-id">
+<h2>Time Zone ID<a class="headerlink" href="#time-zone-id" title="Permalink to 
this headline">¶</a></h2>
+<p>Time zone can be an abbreviation form like &#8216;PST&#8217; or 
&#8216;DST&#8217;. Also, it accepts an offset-based form like 
&#8216;GMT+9&#8217; or UTC+9&#8217; or a location-based form like 
&#8216;Asia/Seoul&#8217;.</p>
+<div class="admonition note">
+<p class="first admonition-title">Note</p>
+<p class="last">In many cases, offset-based forms or locaion-based forms are 
recommanded. In order to know the list of time zones, please refer to <a 
class="reference external" 
href="http://en.wikipedia.org/wiki/List_of_tz_database_time_zones";>List of tz 
database time zones</a></p>
+</div>
+<div class="admonition note">
+<p class="first admonition-title">Note</p>
+<p class="last">Java 6 does not recognize many location-based time zones and 
an offset-based timezone using the prefix &#8216;UTC&#8217;. We highly 
recommanded using the offset-based time zone using the prefix 
&#8216;GMT&#8217;. In other words, you should use &#8216;GMT-7&#8217; instead 
of &#8216;UTC-7&#8217; in Java 6.</p>
+</div>
+</div>
+<div class="section" id="examples-of-time-zone">
+<h2>Examples of Time Zone<a class="headerlink" href="#examples-of-time-zone" 
title="Permalink to this headline">¶</a></h2>
+<p>For example, consider that there is a list of delimited text lines where 
each rows are written with <tt class="docutils literal"><span 
class="pre">Asia/Seoul</span></tt> time zone (i.e., GMT + 9).</p>
+<div class="highlight-text"><div class="highlight"><pre>1980-4-1 
01:50:30.010|1980-04-01
+80/4/1 1:50:30 AM|80/4/1
+1980 April 1 1:50:30|1980-04-01
+</pre></div>
+</div>
+<p>In order to register the table, we should put a table property <tt 
class="docutils literal"><span class="pre">'timezone'='Asia/Seoul'</span></tt> 
in <tt class="docutils literal"><span class="pre">CREATE</span> <span 
class="pre">TABLE</span></tt> statement as follows:</p>
+<div class="highlight-sql"><div class="highlight"><pre><span 
class="k">CREATE</span> <span class="k">EXTERNAL</span> <span 
class="k">TABLE</span> <span class="n">table1</span> <span class="p">(</span>
+ <span class="n">t_timestamp</span>  <span class="k">TIMESTAMP</span><span 
class="p">,</span>
+ <span class="n">t_date</span>    <span class="nb">DATE</span>
+<span class="p">)</span> <span class="k">USING</span> <span 
class="nb">TEXT</span> <span class="k">WITH</span><span class="p">(</span><span 
class="s1">&#39;text.delimiter&#39;</span><span class="o">=</span><span 
class="s1">&#39;|&#39;</span><span class="p">,</span> <span 
class="s1">&#39;timezone&#39;</span><span class="o">=</span><span 
class="s1">&#39;ASIA/Seoul&#39;</span><span class="p">)</span> <span 
class="k">LOCATION</span> <span class="s1">&#39;/path-to-table/&#39;</span>
+</pre></div>
+</div>
+<p>By default, <tt class="docutils literal"><span class="pre">tsql</span></tt> 
and <tt class="docutils literal"><span class="pre">TajoClient</span></tt> API 
use UTC time zone. So, timestamp values in the result are adjusted by the time 
zone offset. But, date is not adjusted because date type does not consider time 
zone.</p>
+<div class="highlight-sql"><div class="highlight"><pre><span 
class="k">default</span><span class="o">&gt;</span> <span 
class="k">SELECT</span> <span class="o">*</span> <span class="k">FROM</span> 
<span class="n">table1</span>
+<span class="n">t_timestamp</span><span class="p">,</span>            <span 
class="n">t_date</span>
+<span class="c1">----------------------------------</span>
+<span class="mi">1980</span><span class="o">-</span><span 
class="mi">03</span><span class="o">-</span><span class="mi">31</span> <span 
class="mi">16</span><span class="p">:</span><span class="mi">50</span><span 
class="p">:</span><span class="mi">30</span><span class="p">.</span><span 
class="mi">01</span><span class="p">,</span> <span class="mi">1980</span><span 
class="o">-</span><span class="mi">04</span><span class="o">-</span><span 
class="mi">01</span>
+<span class="mi">1980</span><span class="o">-</span><span 
class="mi">03</span><span class="o">-</span><span class="mi">31</span> <span 
class="mi">16</span><span class="p">:</span><span class="mi">50</span><span 
class="p">:</span><span class="mi">30</span>   <span class="p">,</span> <span 
class="mi">1980</span><span class="o">-</span><span class="mi">04</span><span 
class="o">-</span><span class="mi">01</span>
+<span class="mi">1980</span><span class="o">-</span><span 
class="mi">03</span><span class="o">-</span><span class="mi">31</span> <span 
class="mi">16</span><span class="p">:</span><span class="mi">50</span><span 
class="p">:</span><span class="mi">30</span>   <span class="p">,</span> <span 
class="mi">1980</span><span class="o">-</span><span class="mi">04</span><span 
class="o">-</span><span class="mi">01</span>
+</pre></div>
+</div>
+<p>In addition, users can set client-side time zone by setting a session 
variable &#8216;TZ&#8217;. It enables a client to translate timestamp or time 
values to user&#8217;s time zoned ones.</p>
+<div class="highlight-sql"><div class="highlight"><pre><span 
class="k">default</span><span class="o">&gt;</span> <span class="k">SET</span> 
<span class="n">TIME</span> <span class="k">ZONE</span> <span 
class="s1">&#39;Asia/Seoul&#39;</span>
+<span class="k">default</span><span class="o">&gt;</span> <span 
class="k">SELECT</span> <span class="o">*</span> <span class="k">FROM</span> 
<span class="n">table1</span>
+<span class="n">t_timestamp</span><span class="p">,</span>            <span 
class="n">t_date</span>
+<span class="c1">----------------------------------</span>
+<span class="mi">1980</span><span class="o">-</span><span 
class="mi">04</span><span class="o">-</span><span class="mi">01</span> <span 
class="mi">01</span><span class="p">:</span><span class="mi">50</span><span 
class="p">:</span><span class="mi">30</span><span class="p">.</span><span 
class="mi">01</span><span class="p">,</span> <span class="mi">1980</span><span 
class="o">-</span><span class="mi">04</span><span class="o">-</span><span 
class="mi">01</span>
+<span class="mi">1980</span><span class="o">-</span><span 
class="mi">04</span><span class="o">-</span><span class="mi">01</span> <span 
class="mi">01</span><span class="p">:</span><span class="mi">50</span><span 
class="p">:</span><span class="mi">30</span>   <span class="p">,</span> <span 
class="mi">1980</span><span class="o">-</span><span class="mi">04</span><span 
class="o">-</span><span class="mi">01</span>
+<span class="mi">1980</span><span class="o">-</span><span 
class="mi">04</span><span class="o">-</span><span class="mi">01</span> <span 
class="mi">01</span><span class="p">:</span><span class="mi">50</span><span 
class="p">:</span><span class="mi">30</span>   <span class="p">,</span> <span 
class="mi">1980</span><span class="o">-</span><span class="mi">04</span><span 
class="o">-</span><span class="mi">01</span>
+</pre></div>
+</div>
+</div>
+</div>
+
+
+          </div>
+          <footer>
+  
+    <div class="rst-footer-buttons" role="navigation" aria-label="footer 
navigation">
+      
+        <a href="functions.html" class="btn btn-neutral float-right" 
title="Functions"/>Next <span class="fa fa-arrow-circle-right"></span></a>
+      
+      
+        <a href="sql_language/predicates.html" class="btn btn-neutral" 
title="Predicates"><span class="fa fa-arrow-circle-left"></span> Previous</a>
+      
+    </div>
+  
+
+  <hr/>
+
+  <div role="contentinfo">
+    <p>
+        &copy; Copyright 2014, Apache Tajo Team.
+    </p>
+  </div>
+
+  <a href="https://github.com/snide/sphinx_rtd_theme";>Sphinx theme</a> 
provided by <a href="https://readthedocs.org";>Read the Docs</a>
+</footer>
+        </div>
+      </div>
+
+    </section>
+
+  </div>
+  
+
+
+  
+
+    <script type="text/javascript">
+        var DOCUMENTATION_OPTIONS = {
+            URL_ROOT:'./',
+            VERSION:'0.8.0',
+            COLLAPSE_INDEX:false,
+            FILE_SUFFIX:'.html',
+            HAS_SOURCE:  true
+        };
+    </script>
+      <script type="text/javascript" src="_static/jquery.js"></script>
+      <script type="text/javascript" src="_static/underscore.js"></script>
+      <script type="text/javascript" src="_static/doctools.js"></script>
+
+  
+
+  
+  
+    <script type="text/javascript" src="_static/js/theme.js"></script>
+  
+
+  
+  
+  <script type="text/javascript">
+      jQuery(function () {
+          SphinxRtdTheme.StickyNav.enable();
+      });
+  </script>
+   
+
+</body>
+</html>
\ No newline at end of file

Added: tajo/site/docs/0.10.0/tsql.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/0.10.0/tsql.html?rev=1665114&view=auto
==============================================================================
--- tajo/site/docs/0.10.0/tsql.html (added)
+++ tajo/site/docs/0.10.0/tsql.html Mon Mar  9 02:35:26 2015
@@ -0,0 +1,273 @@
+
+
+<!DOCTYPE html>
+<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
+<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
+<head>
+  <meta charset="utf-8">
+  <meta name="viewport" content="width=device-width, initial-scale=1.0">
+  
+  <title>Tajo Shell (TSQL) &mdash; Apache Tajo 0.8.0 documentation</title>
+  
+
+  
+  
+
+  
+  <link 
href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700'
 rel='stylesheet' type='text/css'>
+
+  
+  
+    
+
+  
+
+  
+  
+    <link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
+  
+
+  
+    <link rel="top" title="Apache Tajo 0.8.0 documentation" href="index.html"/>
+        <link rel="next" title="Meta Commands" href="tsql/meta_command.html"/>
+        <link rel="prev" title="The catalog-site.xml File" 
href="configuration/catalog-site-xml.html"/> 
+
+  
+  <script 
src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js";></script>
+
+</head>
+
+<body class="wy-body-for-nav" role="document">
+
+  <div class="wy-grid-for-nav">
+
+    
+    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
+      <div class="wy-side-nav-search">
+        <a href="index.html" class="fa fa-home"> Apache Tajo</a>
+        <div role="search">
+  <form id ="rtd-search-form" class="wy-form" action="search.html" 
method="get">
+    <input type="text" name="q" placeholder="Search docs" />
+    <input type="hidden" name="check_keywords" value="yes" />
+    <input type="hidden" name="area" value="default" />
+  </form>
+</div>
+      </div>
+
+      <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" 
aria-label="main navigation">
+        
+        
+            <ul class="current">
+<li class="toctree-l1"><a class="reference internal" 
href="introduction.html">Introduction</a></li>
+<li class="toctree-l1"><a class="reference internal" 
href="getting_started.html">Getting Started</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="getting_started.html#prerequisites">Prerequisites</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="getting_started.html#dowload-and-unpack-the-source-code">Dowload and 
unpack the source code</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="getting_started.html#build-source-code">Build source code</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="getting_started.html#setting-up-a-local-tajo-cluster">Setting up a local 
Tajo cluster</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="getting_started.html#first-query-execution">First query execution</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="configuration.html">Configuration</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="configuration/preliminary.html">Preliminary</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="configuration/cluster_setup.html">Cluster Setup</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="configuration/tajo_master_configuration.html">Tajo Master 
Configuration</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="configuration/worker_configuration.html">Worker Configuration</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="configuration/catalog_configuration.html">Catalog Configuration</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="configuration/ha_configuration.html">High Availability for 
TajoMaster</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="configuration/service_config_defaults.html">Cluster Service Configuration 
Defaults</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="configuration/tajo-site-xml.html">The tajo-site.xml File</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="configuration/catalog-site-xml.html">The catalog-site.xml File</a></li>
+</ul>
+</li>
+<li class="toctree-l1 current"><a class="current reference internal" 
href="">Tajo Shell (TSQL)</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="tsql/meta_command.html">Meta Commands</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="tsql/dfs_command.html">Executing HDFS commands</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="tsql/variables.html">Session Variables</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="tsql/admin_command.html">Administration Commands</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="tsql/intro.html">Introducing to TSQL</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="tsql/single_command.html">Executing a single command</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="tsql/execute_file.html">Executing Queries from Files</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="tsql/background_command.html">Executing as background process</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="sql_language.html">SQL Language</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="sql_language/data_model.html">Data Model</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="sql_language/ddl.html">Data Definition Language</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="sql_language/insert.html">INSERT (OVERWRITE) INTO</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="sql_language/queries.html">Queries</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="sql_language/sql_expression.html">SQL Expressions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="sql_language/predicates.html">Predicates</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="time_zone.html">Time Zone</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="time_zone.html#server-cluster-time-zone">Server Cluster Time Zone</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="time_zone.html#table-time-zone">Table Time Zone</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="time_zone.html#client-time-zone">Client Time Zone</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="time_zone.html#time-zone-id">Time Zone ID</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="time_zone.html#examples-of-time-zone">Examples of Time Zone</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="functions.html">Functions</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="functions/math_func_and_operators.html">Math Functions and 
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="functions/string_func_and_operators.html">String Functions and 
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="functions/datetime_func_and_operators.html">DateTime Functions and 
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="functions/network_func_and_operators.html">Network Functions and 
Operators</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="table_management.html">Table Management</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="table_management/table_overview.html">Overview of Tajo Tables</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="table_management/file_formats.html">File Formats</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="table_management/compression.html">Compression</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="table_partitioning.html">Table Partitioning</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="partitioning/intro_to_partitioning.html">Introduction to 
Partitioning</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="partitioning/column_partitioning.html">Column Partitioning</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="partitioning/range_partitioning.html">Range Partitioning</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="partitioning/hash_partitioning.html">Hash Partitioning</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="index_overview.html">Index (Experimental Feature)</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="index/types.html">Index Types</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="index/how_to_use.html">How to use index?</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="index/future_work.html">Future Works</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="backup_and_restore.html">Backup and Restore</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="backup_and_restore/catalog.html">Backup and Restore Catalog</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="hcatalog_integration.html">HCatalog Integration</a></li>
+<li class="toctree-l1"><a class="reference internal" 
href="hbase_integration.html">HBase Integration</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="hbase_integration.html#create-table">CREATE TABLE</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="hbase_integration.html#drop-table">DROP TABLE</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="hbase_integration.html#insert-overwrite-into">INSERT (OVERWRITE) 
INTO</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="hbase_integration.html#usage">Usage</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="jdbc_driver.html">Tajo JDBC Driver</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC driver</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="jdbc_driver.html#an-example-jdbc-client">An Example JDBC Client</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="jdbc_driver.html#faq">FAQ</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="tajo_client_api.html">Tajo Client API</a></li>
+<li class="toctree-l1"><a class="reference internal" 
href="faq.html">FAQ</a></li>
+</ul>
+
+        
+      </div>
+      &nbsp;
+    </nav>
+
+    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
+
+      
+      <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
+        <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
+        <a href="index.html">Apache Tajo</a>
+      </nav>
+
+
+      
+      <div class="wy-nav-content">
+        <div class="rst-content">
+          <div role="navigation" aria-label="breadcrumbs navigation">
+  <ul class="wy-breadcrumbs">
+    <li><a href="index.html">Docs</a> &raquo;</li>
+      
+    <li>Tajo Shell (TSQL)</li>
+      <li class="wy-breadcrumbs-aside">
+        
+          <a href="_sources/tsql.txt" rel="nofollow"> View page source</a>
+        
+      </li>
+  </ul>
+  <hr/>
+</div>
+          <div role="main">
+            
+  <div class="section" id="tajo-shell-tsql">
+<h1>Tajo Shell (TSQL)<a class="headerlink" href="#tajo-shell-tsql" 
title="Permalink to this headline">¶</a></h1>
+<p>Tajo provides a shell utility named Tsql. It is a command-line interface 
(CLI) where users can create or drop tables, inspect schema and query tables, 
etc.</p>
+<div class="toctree-wrapper compound">
+<ul>
+<li class="toctree-l1"><a class="reference internal" 
href="tsql/meta_command.html">Meta Commands</a></li>
+<li class="toctree-l1"><a class="reference internal" 
href="tsql/dfs_command.html">Executing HDFS commands</a></li>
+<li class="toctree-l1"><a class="reference internal" 
href="tsql/variables.html">Session Variables</a></li>
+<li class="toctree-l1"><a class="reference internal" 
href="tsql/admin_command.html">Administration Commands</a></li>
+<li class="toctree-l1"><a class="reference internal" 
href="tsql/intro.html">Introducing to TSQL</a></li>
+<li class="toctree-l1"><a class="reference internal" 
href="tsql/single_command.html">Executing a single command</a></li>
+<li class="toctree-l1"><a class="reference internal" 
href="tsql/execute_file.html">Executing Queries from Files</a></li>
+<li class="toctree-l1"><a class="reference internal" 
href="tsql/background_command.html">Executing as background process</a></li>
+</ul>
+</div>
+</div>
+
+
+          </div>
+          <footer>
+  
+    <div class="rst-footer-buttons" role="navigation" aria-label="footer 
navigation">
+      
+        <a href="tsql/meta_command.html" class="btn btn-neutral float-right" 
title="Meta Commands"/>Next <span class="fa fa-arrow-circle-right"></span></a>
+      
+      
+        <a href="configuration/catalog-site-xml.html" class="btn btn-neutral" 
title="The catalog-site.xml File"><span class="fa fa-arrow-circle-left"></span> 
Previous</a>
+      
+    </div>
+  
+
+  <hr/>
+
+  <div role="contentinfo">
+    <p>
+        &copy; Copyright 2014, Apache Tajo Team.
+    </p>
+  </div>
+
+  <a href="https://github.com/snide/sphinx_rtd_theme";>Sphinx theme</a> 
provided by <a href="https://readthedocs.org";>Read the Docs</a>
+</footer>
+        </div>
+      </div>
+
+    </section>
+
+  </div>
+  
+
+
+  
+
+    <script type="text/javascript">
+        var DOCUMENTATION_OPTIONS = {
+            URL_ROOT:'./',
+            VERSION:'0.8.0',
+            COLLAPSE_INDEX:false,
+            FILE_SUFFIX:'.html',
+            HAS_SOURCE:  true
+        };
+    </script>
+      <script type="text/javascript" src="_static/jquery.js"></script>
+      <script type="text/javascript" src="_static/underscore.js"></script>
+      <script type="text/javascript" src="_static/doctools.js"></script>
+
+  
+
+  
+  
+    <script type="text/javascript" src="_static/js/theme.js"></script>
+  
+
+  
+  
+  <script type="text/javascript">
+      jQuery(function () {
+          SphinxRtdTheme.StickyNav.enable();
+      });
+  </script>
+   
+
+</body>
+</html>
\ No newline at end of file

Added: tajo/site/docs/0.10.0/tsql/admin_command.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/0.10.0/tsql/admin_command.html?rev=1665114&view=auto
==============================================================================
--- tajo/site/docs/0.10.0/tsql/admin_command.html (added)
+++ tajo/site/docs/0.10.0/tsql/admin_command.html Mon Mar  9 02:35:26 2015
@@ -0,0 +1,296 @@
+
+
+<!DOCTYPE html>
+<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
+<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
+<head>
+  <meta charset="utf-8">
+  <meta name="viewport" content="width=device-width, initial-scale=1.0">
+  
+  <title>Administration Commands &mdash; Apache Tajo 0.8.0 
documentation</title>
+  
+
+  
+  
+
+  
+  <link 
href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700'
 rel='stylesheet' type='text/css'>
+
+  
+  
+    
+
+  
+
+  
+  
+    <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
+  
+
+  
+    <link rel="top" title="Apache Tajo 0.8.0 documentation" 
href="../index.html"/>
+        <link rel="up" title="Tajo Shell (TSQL)" href="../tsql.html"/>
+        <link rel="next" title="Introducing to TSQL" href="intro.html"/>
+        <link rel="prev" title="Session Variables" href="variables.html"/> 
+
+  
+  <script 
src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js";></script>
+
+</head>
+
+<body class="wy-body-for-nav" role="document">
+
+  <div class="wy-grid-for-nav">
+
+    
+    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
+      <div class="wy-side-nav-search">
+        <a href="../index.html" class="fa fa-home"> Apache Tajo</a>
+        <div role="search">
+  <form id ="rtd-search-form" class="wy-form" action="../search.html" 
method="get">
+    <input type="text" name="q" placeholder="Search docs" />
+    <input type="hidden" name="check_keywords" value="yes" />
+    <input type="hidden" name="area" value="default" />
+  </form>
+</div>
+      </div>
+
+      <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" 
aria-label="main navigation">
+        
+        
+            <ul class="current">
+<li class="toctree-l1"><a class="reference internal" 
href="../introduction.html">Introduction</a></li>
+<li class="toctree-l1"><a class="reference internal" 
href="../getting_started.html">Getting Started</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="../getting_started/prerequisites.html">Prerequisites</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../getting_started/downloading_source.html">Dowload and unpack the source 
code</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../getting_started/building.html">Build source code</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../getting_started/local_setup.html">Setting up a local Tajo 
cluster</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../getting_started/first_query.html">First query execution</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="../configuration.html">Configuration</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="../configuration/preliminary.html">Preliminary</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../configuration/cluster_setup.html">Cluster Setup</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../configuration/tajo_master_configuration.html">Tajo Master 
Configuration</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../configuration/worker_configuration.html">Worker Configuration</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../configuration/catalog_configuration.html">Catalog 
Configuration</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../configuration/ha_configuration.html">High Availability for 
TajoMaster</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../configuration/tajo-site-xml.html">The tajo-site.xml File</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../configuration/catalog-site-xml.html">The catalog-site.xml File</a></li>
+</ul>
+</li>
+<li class="toctree-l1 current"><a class="reference internal" 
href="../tsql.html">Tajo Shell (TSQL)</a><ul class="current">
+<li class="toctree-l2"><a class="reference internal" 
href="meta_command.html">Meta Commands</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="dfs_command.html">Executing HDFS commands</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="variables.html">Session Variables</a></li>
+<li class="toctree-l2 current"><a class="current reference internal" 
href="">Administration Commands</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="intro.html">Introducing to TSQL</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="single_command.html">Executing a single command</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="execute_file.html">Executing Queries from Files</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="background_command.html">Executing as background process</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="../sql_language.html">SQL Language</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="../sql_language/data_model.html">Data Model</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../sql_language/ddl.html">Data Definition Language</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../sql_language/insert.html">INSERT (OVERWRITE) INTO</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../sql_language/queries.html">Queries</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../sql_language/sql_expression.html">SQL Expressions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../sql_language/predicates.html">Predicates</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="../time_zone.html">Time Zone</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="../time_zone.html#server-cluster-time-zone">Server Cluster Time 
Zone</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../time_zone.html#table-time-zone">Table Time Zone</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../time_zone.html#client-time-zone">Client Time Zone</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../time_zone.html#time-zone-id">Time Zone ID</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../time_zone.html#examples-of-time-zone">Examples of Time Zone</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="../functions.html">Functions</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions/math_func_and_operators.html">Math Functions and 
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions/string_func_and_operators.html">String Functions and 
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions/datetime_func_and_operators.html">DateTime Functions and 
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions/network_func_and_operators.html">Network Functions and 
Operators</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="../table_management.html">Table Management</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="../table_management/table_overview.html">Overview of Tajo Tables</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../table_management/file_formats.html">File Formats</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../table_management/compression.html">Compression</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="../table_partitioning.html">Table Partitioning</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="../partitioning/intro_to_partitioning.html">Introduction to 
Partitioning</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../partitioning/column_partitioning.html">Column Partitioning</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../partitioning/range_partitioning.html">Range Partitioning</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../partitioning/hash_partitioning.html">Hash Partitioning</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="../backup_and_restore.html">Backup and Restore</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="../backup_and_restore/catalog.html">Backup and Restore Catalog</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="../hcatalog_integration.html">HCatalog Integration</a></li>
+<li class="toctree-l1"><a class="reference internal" 
href="../jdbc_driver.html">Tajo JDBC Driver</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC 
driver</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#an-example-jdbc-client">An Example JDBC 
Client</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#faq">FAQ</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="../tajo_client_api.html">Tajo Client API</a></li>
+<li class="toctree-l1"><a class="reference internal" 
href="../faq.html">FAQ</a></li>
+</ul>
+
+        
+      </div>
+      &nbsp;
+    </nav>
+
+    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
+
+      
+      <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
+        <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
+        <a href="../index.html">Apache Tajo</a>
+      </nav>
+
+
+      
+      <div class="wy-nav-content">
+        <div class="rst-content">
+          <div role="navigation" aria-label="breadcrumbs navigation">
+  <ul class="wy-breadcrumbs">
+    <li><a href="../index.html">Docs</a> &raquo;</li>
+      
+          <li><a href="../tsql.html">Tajo Shell (TSQL)</a> &raquo;</li>
+      
+    <li>Administration Commands</li>
+      <li class="wy-breadcrumbs-aside">
+        
+          <a href="../_sources/tsql/admin_command.txt" rel="nofollow"> View 
page source</a>
+        
+      </li>
+  </ul>
+  <hr/>
+</div>
+          <div role="main">
+            
+  <div class="section" id="administration-commands">
+<h1>Administration Commands<a class="headerlink" 
href="#administration-commands" title="Permalink to this headline">¶</a></h1>
+<div class="section" id="synopsis">
+<h2>Synopsis<a class="headerlink" href="#synopsis" title="Permalink to this 
headline">¶</a></h2>
+<p>Tsql provides administration commands as follows:</p>
+<div class="highlight-sql"><div class="highlight"><pre>default&gt; \admin;
+usage: admin [options]
+ -cluster          Show Cluster Info
+ -desc             Show Query Description
+ -h,--host &lt;arg&gt;   Tajo server host
+ -kill &lt;arg&gt;       Kill a running query
+ -list             Show Tajo query list
+ -p,--port &lt;arg&gt;   Tajo server port
+ -showmasters      gets list of tajomasters in the cluster
+</pre></div>
+</div>
+<div class="section" id="basic-usages">
+<h3>Basic usages<a class="headerlink" href="#basic-usages" title="Permalink to 
this headline">¶</a></h3>
+<p><tt class="docutils literal"><span class="pre">-list</span></tt> option 
shows a list of all running queries as follows:</p>
+<div class="highlight-python"><div class="highlight"><pre>default&gt; \admin 
-list
+QueryId              State               StartTime           Query
+-------------------- ------------------- ------------------- 
-----------------------------
+q_1411357607375_0006 QUERY_RUNNING       2014-09-23 07:19:40 select count(*) 
from lineitem
+</pre></div>
+</div>
+<p><tt class="docutils literal"><span class="pre">-desc</span></tt> option 
shows a detailed description of a specified running query as follows:</p>
+<div class="highlight-python"><div class="highlight"><pre>default&gt; \admin 
-desc q_1411357607375_0006
+Id: 1
+Query Id: q_1411357607375_0006
+Started Time: 2014-09-23 07:19:40
+Query State: QUERY_RUNNING
+Execution Time: 20.0 sec
+Query Progress: 0.249
+Query Statement:
+select count(*) from lineitem
+</pre></div>
+</div>
+<p><tt class="docutils literal"><span class="pre">-kill</span></tt> option 
kills a specified running query as follows:</p>
+<div class="highlight-python"><div class="highlight"><pre>default&gt; \admin 
-kill q_1411357607375_0007
+q_1411357607375_0007 is killed successfully.
+</pre></div>
+</div>
+<p><tt class="docutils literal"><span class="pre">-showmasters</span></tt> 
option shows a list of all tajo masters as follows:</p>
+<div class="highlight-python"><div class="highlight"><pre>default&gt; \admin 
-showmasters
+grtajo01
+</pre></div>
+</div>
+</div>
+</div>
+</div>
+
+
+          </div>
+          <footer>
+  
+    <div class="rst-footer-buttons" role="navigation" aria-label="footer 
navigation">
+      
+        <a href="intro.html" class="btn btn-neutral float-right" 
title="Introducing to TSQL"/>Next <span class="fa 
fa-arrow-circle-right"></span></a>
+      
+      
+        <a href="variables.html" class="btn btn-neutral" title="Session 
Variables"><span class="fa fa-arrow-circle-left"></span> Previous</a>
+      
+    </div>
+  
+
+  <hr/>
+
+  <div role="contentinfo">
+    <p>
+        &copy; Copyright 2014, Apache Tajo Team.
+    </p>
+  </div>
+
+  <a href="https://github.com/snide/sphinx_rtd_theme";>Sphinx theme</a> 
provided by <a href="https://readthedocs.org";>Read the Docs</a>
+</footer>
+        </div>
+      </div>
+
+    </section>
+
+  </div>
+  
+
+
+  
+
+    <script type="text/javascript">
+        var DOCUMENTATION_OPTIONS = {
+            URL_ROOT:'../',
+            VERSION:'0.8.0',
+            COLLAPSE_INDEX:false,
+            FILE_SUFFIX:'.html',
+            HAS_SOURCE:  true
+        };
+    </script>
+      <script type="text/javascript" src="../_static/jquery.js"></script>
+      <script type="text/javascript" src="../_static/underscore.js"></script>
+      <script type="text/javascript" src="../_static/doctools.js"></script>
+
+  
+
+  
+  
+    <script type="text/javascript" src="../_static/js/theme.js"></script>
+  
+
+  
+  
+  <script type="text/javascript">
+      jQuery(function () {
+          SphinxRtdTheme.StickyNav.enable();
+      });
+  </script>
+   
+
+</body>
+</html>
\ No newline at end of file

Added: tajo/site/docs/0.10.0/tsql/background_command.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/0.10.0/tsql/background_command.html?rev=1665114&view=auto
==============================================================================
--- tajo/site/docs/0.10.0/tsql/background_command.html (added)
+++ tajo/site/docs/0.10.0/tsql/background_command.html Mon Mar  9 02:35:26 2015
@@ -0,0 +1,270 @@
+
+
+<!DOCTYPE html>
+<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
+<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
+<head>
+  <meta charset="utf-8">
+  <meta name="viewport" content="width=device-width, initial-scale=1.0">
+  
+  <title>Executing as background process &mdash; Apache Tajo 0.8.0 
documentation</title>
+  
+
+  
+  
+
+  
+  <link 
href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700'
 rel='stylesheet' type='text/css'>
+
+  
+  
+    
+
+  
+
+  
+  
+    <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
+  
+
+  
+    <link rel="top" title="Apache Tajo 0.8.0 documentation" 
href="../index.html"/>
+        <link rel="up" title="Tajo Shell (TSQL)" href="../tsql.html"/>
+        <link rel="next" title="SQL Language" href="../sql_language.html"/>
+        <link rel="prev" title="Executing Queries from Files" 
href="execute_file.html"/> 
+
+  
+  <script 
src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js";></script>
+
+</head>
+
+<body class="wy-body-for-nav" role="document">
+
+  <div class="wy-grid-for-nav">
+
+    
+    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
+      <div class="wy-side-nav-search">
+        <a href="../index.html" class="fa fa-home"> Apache Tajo</a>
+        <div role="search">
+  <form id ="rtd-search-form" class="wy-form" action="../search.html" 
method="get">
+    <input type="text" name="q" placeholder="Search docs" />
+    <input type="hidden" name="check_keywords" value="yes" />
+    <input type="hidden" name="area" value="default" />
+  </form>
+</div>
+      </div>
+
+      <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" 
aria-label="main navigation">
+        
+        
+            <ul class="current">
+<li class="toctree-l1"><a class="reference internal" 
href="../introduction.html">Introduction</a></li>
+<li class="toctree-l1"><a class="reference internal" 
href="../getting_started.html">Getting Started</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="../getting_started/prerequisites.html">Prerequisites</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../getting_started/downloading_source.html">Dowload and unpack the source 
code</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../getting_started/building.html">Build source code</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../getting_started/local_setup.html">Setting up a local Tajo 
cluster</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../getting_started/first_query.html">First query execution</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="../configuration.html">Configuration</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="../configuration/preliminary.html">Preliminary</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../configuration/cluster_setup.html">Cluster Setup</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../configuration/tajo_master_configuration.html">Tajo Master 
Configuration</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../configuration/worker_configuration.html">Worker Configuration</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../configuration/catalog_configuration.html">Catalog 
Configuration</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../configuration/ha_configuration.html">High Availability for 
TajoMaster</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../configuration/tajo-site-xml.html">The tajo-site.xml File</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../configuration/catalog-site-xml.html">The catalog-site.xml File</a></li>
+</ul>
+</li>
+<li class="toctree-l1 current"><a class="reference internal" 
href="../tsql.html">Tajo Shell (TSQL)</a><ul class="current">
+<li class="toctree-l2"><a class="reference internal" 
href="meta_command.html">Meta Commands</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="dfs_command.html">Executing HDFS commands</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="variables.html">Session Variables</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="admin_command.html">Administration Commands</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="intro.html">Introducing to TSQL</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="single_command.html">Executing a single command</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="execute_file.html">Executing Queries from Files</a></li>
+<li class="toctree-l2 current"><a class="current reference internal" 
href="">Executing as background process</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="../sql_language.html">SQL Language</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="../sql_language/data_model.html">Data Model</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../sql_language/ddl.html">Data Definition Language</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../sql_language/insert.html">INSERT (OVERWRITE) INTO</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../sql_language/queries.html">Queries</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../sql_language/sql_expression.html">SQL Expressions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../sql_language/predicates.html">Predicates</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="../time_zone.html">Time Zone</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="../time_zone.html#server-cluster-time-zone">Server Cluster Time 
Zone</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../time_zone.html#table-time-zone">Table Time Zone</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../time_zone.html#client-time-zone">Client Time Zone</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../time_zone.html#time-zone-id">Time Zone ID</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../time_zone.html#examples-of-time-zone">Examples of Time Zone</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="../functions.html">Functions</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions/math_func_and_operators.html">Math Functions and 
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions/string_func_and_operators.html">String Functions and 
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions/datetime_func_and_operators.html">DateTime Functions and 
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions/network_func_and_operators.html">Network Functions and 
Operators</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="../table_management.html">Table Management</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="../table_management/table_overview.html">Overview of Tajo Tables</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../table_management/file_formats.html">File Formats</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../table_management/compression.html">Compression</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="../table_partitioning.html">Table Partitioning</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="../partitioning/intro_to_partitioning.html">Introduction to 
Partitioning</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../partitioning/column_partitioning.html">Column Partitioning</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../partitioning/range_partitioning.html">Range Partitioning</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../partitioning/hash_partitioning.html">Hash Partitioning</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="../backup_and_restore.html">Backup and Restore</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="../backup_and_restore/catalog.html">Backup and Restore Catalog</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="../hcatalog_integration.html">HCatalog Integration</a></li>
+<li class="toctree-l1"><a class="reference internal" 
href="../jdbc_driver.html">Tajo JDBC Driver</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC 
driver</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#an-example-jdbc-client">An Example JDBC 
Client</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#faq">FAQ</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="../tajo_client_api.html">Tajo Client API</a></li>
+<li class="toctree-l1"><a class="reference internal" 
href="../faq.html">FAQ</a></li>
+</ul>
+
+        
+      </div>
+      &nbsp;
+    </nav>
+
+    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
+
+      
+      <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
+        <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
+        <a href="../index.html">Apache Tajo</a>
+      </nav>
+
+
+      
+      <div class="wy-nav-content">
+        <div class="rst-content">
+          <div role="navigation" aria-label="breadcrumbs navigation">
+  <ul class="wy-breadcrumbs">
+    <li><a href="../index.html">Docs</a> &raquo;</li>
+      
+          <li><a href="../tsql.html">Tajo Shell (TSQL)</a> &raquo;</li>
+      
+    <li>Executing as background process</li>
+      <li class="wy-breadcrumbs-aside">
+        
+          <a href="../_sources/tsql/background_command.txt" rel="nofollow"> 
View page source</a>
+        
+      </li>
+  </ul>
+  <hr/>
+</div>
+          <div role="main">
+            
+  <div class="section" id="executing-as-background-process">
+<h1>Executing as background process<a class="headerlink" 
href="#executing-as-background-process" title="Permalink to this 
headline">¶</a></h1>
+<p>If you execute tsql as a background process, tsql will exit before 
executing a query because of some limitation of Jline2.</p>
+<p>Example:</p>
+<blockquote>
+<div><div class="highlight-sql"><div class="highlight"><pre>$ bin/tsql  -f 
aggregation.sql &amp;
+[1] 19303
+$
+[1]+  Stopped                 ./bin/tsql -f aggregation.sql
+</pre></div>
+</div>
+</div></blockquote>
+<p>To avoid above problem, Tajo provides the -B command as follows:</p>
+<div class="highlight-sql"><div class="highlight"><pre>$ bin/tsql  -B -f 
aggregation.sql &amp;
+  [2] 19419
+  Progress: 0%, response time: 0.218 sec
+  Progress: 0%, response time: 0.22 sec
+  Progress: 0%, response time: 0.421 sec
+  Progress: 0%, response time: 0.823 sec
+  Progress: 0%, response time: 1.425 sec
+  Progress: 1%, response time: 2.227 sec
+</pre></div>
+</div>
+</div>
+
+
+          </div>
+          <footer>
+  
+    <div class="rst-footer-buttons" role="navigation" aria-label="footer 
navigation">
+      
+        <a href="../sql_language.html" class="btn btn-neutral float-right" 
title="SQL Language"/>Next <span class="fa fa-arrow-circle-right"></span></a>
+      
+      
+        <a href="execute_file.html" class="btn btn-neutral" title="Executing 
Queries from Files"><span class="fa fa-arrow-circle-left"></span> Previous</a>
+      
+    </div>
+  
+
+  <hr/>
+
+  <div role="contentinfo">
+    <p>
+        &copy; Copyright 2014, Apache Tajo Team.
+    </p>
+  </div>
+
+  <a href="https://github.com/snide/sphinx_rtd_theme";>Sphinx theme</a> 
provided by <a href="https://readthedocs.org";>Read the Docs</a>
+</footer>
+        </div>
+      </div>
+
+    </section>
+
+  </div>
+  
+
+
+  
+
+    <script type="text/javascript">
+        var DOCUMENTATION_OPTIONS = {
+            URL_ROOT:'../',
+            VERSION:'0.8.0',
+            COLLAPSE_INDEX:false,
+            FILE_SUFFIX:'.html',
+            HAS_SOURCE:  true
+        };
+    </script>
+      <script type="text/javascript" src="../_static/jquery.js"></script>
+      <script type="text/javascript" src="../_static/underscore.js"></script>
+      <script type="text/javascript" src="../_static/doctools.js"></script>
+
+  
+
+  
+  
+    <script type="text/javascript" src="../_static/js/theme.js"></script>
+  
+
+  
+  
+  <script type="text/javascript">
+      jQuery(function () {
+          SphinxRtdTheme.StickyNav.enable();
+      });
+  </script>
+   
+
+</body>
+</html>
\ No newline at end of file

Added: tajo/site/docs/0.10.0/tsql/dfs_command.html
URL: 
http://svn.apache.org/viewvc/tajo/site/docs/0.10.0/tsql/dfs_command.html?rev=1665114&view=auto
==============================================================================
--- tajo/site/docs/0.10.0/tsql/dfs_command.html (added)
+++ tajo/site/docs/0.10.0/tsql/dfs_command.html Mon Mar  9 02:35:26 2015
@@ -0,0 +1,270 @@
+
+
+<!DOCTYPE html>
+<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
+<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
+<head>
+  <meta charset="utf-8">
+  <meta name="viewport" content="width=device-width, initial-scale=1.0">
+  
+  <title>Executing HDFS commands &mdash; Apache Tajo 0.8.0 
documentation</title>
+  
+
+  
+  
+
+  
+  <link 
href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700'
 rel='stylesheet' type='text/css'>
+
+  
+  
+    
+
+  
+
+  
+  
+    <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
+  
+
+  
+    <link rel="top" title="Apache Tajo 0.8.0 documentation" 
href="../index.html"/>
+        <link rel="up" title="Tajo Shell (TSQL)" href="../tsql.html"/>
+        <link rel="next" title="Session Variables" href="variables.html"/>
+        <link rel="prev" title="Meta Commands" href="meta_command.html"/> 
+
+  
+  <script 
src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js";></script>
+
+</head>
+
+<body class="wy-body-for-nav" role="document">
+
+  <div class="wy-grid-for-nav">
+
+    
+    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
+      <div class="wy-side-nav-search">
+        <a href="../index.html" class="fa fa-home"> Apache Tajo</a>
+        <div role="search">
+  <form id ="rtd-search-form" class="wy-form" action="../search.html" 
method="get">
+    <input type="text" name="q" placeholder="Search docs" />
+    <input type="hidden" name="check_keywords" value="yes" />
+    <input type="hidden" name="area" value="default" />
+  </form>
+</div>
+      </div>
+
+      <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" 
aria-label="main navigation">
+        
+        
+            <ul class="current">
+<li class="toctree-l1"><a class="reference internal" 
href="../introduction.html">Introduction</a></li>
+<li class="toctree-l1"><a class="reference internal" 
href="../getting_started.html">Getting Started</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="../getting_started/prerequisites.html">Prerequisites</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../getting_started/downloading_source.html">Dowload and unpack the source 
code</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../getting_started/building.html">Build source code</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../getting_started/local_setup.html">Setting up a local Tajo 
cluster</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../getting_started/first_query.html">First query execution</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="../configuration.html">Configuration</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="../configuration/preliminary.html">Preliminary</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../configuration/cluster_setup.html">Cluster Setup</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../configuration/tajo_master_configuration.html">Tajo Master 
Configuration</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../configuration/worker_configuration.html">Worker Configuration</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../configuration/catalog_configuration.html">Catalog 
Configuration</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../configuration/ha_configuration.html">High Availability for 
TajoMaster</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../configuration/tajo-site-xml.html">The tajo-site.xml File</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../configuration/catalog-site-xml.html">The catalog-site.xml File</a></li>
+</ul>
+</li>
+<li class="toctree-l1 current"><a class="reference internal" 
href="../tsql.html">Tajo Shell (TSQL)</a><ul class="current">
+<li class="toctree-l2"><a class="reference internal" 
href="meta_command.html">Meta Commands</a></li>
+<li class="toctree-l2 current"><a class="current reference internal" 
href="">Executing HDFS commands</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="variables.html">Session Variables</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="admin_command.html">Administration Commands</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="intro.html">Introducing to TSQL</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="single_command.html">Executing a single command</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="execute_file.html">Executing Queries from Files</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="background_command.html">Executing as background process</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="../sql_language.html">SQL Language</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="../sql_language/data_model.html">Data Model</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../sql_language/ddl.html">Data Definition Language</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../sql_language/insert.html">INSERT (OVERWRITE) INTO</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../sql_language/queries.html">Queries</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../sql_language/sql_expression.html">SQL Expressions</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../sql_language/predicates.html">Predicates</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="../time_zone.html">Time Zone</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="../time_zone.html#server-cluster-time-zone">Server Cluster Time 
Zone</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../time_zone.html#table-time-zone">Table Time Zone</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../time_zone.html#client-time-zone">Client Time Zone</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../time_zone.html#time-zone-id">Time Zone ID</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../time_zone.html#examples-of-time-zone">Examples of Time Zone</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="../functions.html">Functions</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions/math_func_and_operators.html">Math Functions and 
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions/string_func_and_operators.html">String Functions and 
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions/datetime_func_and_operators.html">DateTime Functions and 
Operators</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../functions/network_func_and_operators.html">Network Functions and 
Operators</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="../table_management.html">Table Management</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="../table_management/table_overview.html">Overview of Tajo Tables</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../table_management/file_formats.html">File Formats</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../table_management/compression.html">Compression</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="../table_partitioning.html">Table Partitioning</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="../partitioning/intro_to_partitioning.html">Introduction to 
Partitioning</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../partitioning/column_partitioning.html">Column Partitioning</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../partitioning/range_partitioning.html">Range Partitioning</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../partitioning/hash_partitioning.html">Hash Partitioning</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="../backup_and_restore.html">Backup and Restore</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="../backup_and_restore/catalog.html">Backup and Restore Catalog</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="../hcatalog_integration.html">HCatalog Integration</a></li>
+<li class="toctree-l1"><a class="reference internal" 
href="../jdbc_driver.html">Tajo JDBC Driver</a><ul>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#how-to-get-jdbc-driver">How to get JDBC 
driver</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#setting-the-classpath">Setting the CLASSPATH</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#an-example-jdbc-client">An Example JDBC 
Client</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="../jdbc_driver.html#faq">FAQ</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="../tajo_client_api.html">Tajo Client API</a></li>
+<li class="toctree-l1"><a class="reference internal" 
href="../faq.html">FAQ</a></li>
+</ul>
+
+        
+      </div>
+      &nbsp;
+    </nav>
+
+    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
+
+      
+      <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
+        <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
+        <a href="../index.html">Apache Tajo</a>
+      </nav>
+
+
+      
+      <div class="wy-nav-content">
+        <div class="rst-content">
+          <div role="navigation" aria-label="breadcrumbs navigation">
+  <ul class="wy-breadcrumbs">
+    <li><a href="../index.html">Docs</a> &raquo;</li>
+      
+          <li><a href="../tsql.html">Tajo Shell (TSQL)</a> &raquo;</li>
+      
+    <li>Executing HDFS commands</li>
+      <li class="wy-breadcrumbs-aside">
+        
+          <a href="../_sources/tsql/dfs_command.txt" rel="nofollow"> View page 
source</a>
+        
+      </li>
+  </ul>
+  <hr/>
+</div>
+          <div role="main">
+            
+  <div class="section" id="executing-hdfs-commands">
+<h1>Executing HDFS commands<a class="headerlink" 
href="#executing-hdfs-commands" title="Permalink to this headline">¶</a></h1>
+<p>You can run the hadoop dfs command (FsShell) within tsql. <tt 
class="docutils literal"><span class="pre">\dfs</span></tt> command provides a 
shortcut to the hadoop dfs commands. If you want to use this command, just 
specify FsShell arguments and add the semicolon at the end as follows:</p>
+<div class="highlight-sql"><div class="highlight"><pre>default&gt; \dfs -ls /
+Found 3 items
+drwxr-xr-x   - tajo supergroup          0 2014-08-14 04:04 /tajo
+drwxr-xr-x   - tajo supergroup          0 2014-09-04 02:20 /tmp
+drwxr-xr-x   - tajo supergroup          0 2014-09-16 13:41 /user
+
+default&gt; \dfs -ls /tajo
+Found 2 items
+drwxr-xr-x   - tajo supergroup          0 2014-08-14 04:04 /tajo/system
+drwxr-xr-x   - tajo supergroup          0 2014-08-14 04:15 /tajo/warehouse
+
+default&gt; \dfs -mkdir /tajo/temp
+
+default&gt; \dfs -ls /tajo
+Found 3 items
+drwxr-xr-x   - tajo supergroup          0 2014-08-14 04:04 /tajo/system
+drwxr-xr-x   - tajo supergroup          0 2014-09-23 06:48 /tajo/temp
+drwxr-xr-x   - tajo supergroup          0 2014-08-14 04:15 /tajo/warehouse
+</pre></div>
+</div>
+</div>
+
+
+          </div>
+          <footer>
+  
+    <div class="rst-footer-buttons" role="navigation" aria-label="footer 
navigation">
+      
+        <a href="variables.html" class="btn btn-neutral float-right" 
title="Session Variables"/>Next <span class="fa 
fa-arrow-circle-right"></span></a>
+      
+      
+        <a href="meta_command.html" class="btn btn-neutral" title="Meta 
Commands"><span class="fa fa-arrow-circle-left"></span> Previous</a>
+      
+    </div>
+  
+
+  <hr/>
+
+  <div role="contentinfo">
+    <p>
+        &copy; Copyright 2014, Apache Tajo Team.
+    </p>
+  </div>
+
+  <a href="https://github.com/snide/sphinx_rtd_theme";>Sphinx theme</a> 
provided by <a href="https://readthedocs.org";>Read the Docs</a>
+</footer>
+        </div>
+      </div>
+
+    </section>
+
+  </div>
+  
+
+
+  
+
+    <script type="text/javascript">
+        var DOCUMENTATION_OPTIONS = {
+            URL_ROOT:'../',
+            VERSION:'0.8.0',
+            COLLAPSE_INDEX:false,
+            FILE_SUFFIX:'.html',
+            HAS_SOURCE:  true
+        };
+    </script>
+      <script type="text/javascript" src="../_static/jquery.js"></script>
+      <script type="text/javascript" src="../_static/underscore.js"></script>
+      <script type="text/javascript" src="../_static/doctools.js"></script>
+
+  
+
+  
+  
+    <script type="text/javascript" src="../_static/js/theme.js"></script>
+  
+
+  
+  
+  <script type="text/javascript">
+      jQuery(function () {
+          SphinxRtdTheme.StickyNav.enable();
+      });
+  </script>
+   
+
+</body>
+</html>
\ No newline at end of file


Reply via email to