1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
---|
2 | <!--NewPage--> |
---|
3 | <HTML> |
---|
4 | <HEAD> |
---|
5 | <!-- Generated by javadoc (build 1.6.0_07) on Tue Sep 01 20:56:51 UTC 2009 --> |
---|
6 | <TITLE> |
---|
7 | KosmosFileSystem (Hadoop 0.20.1 API) |
---|
8 | </TITLE> |
---|
9 | |
---|
10 | <META NAME="date" CONTENT="2009-09-01"> |
---|
11 | |
---|
12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> |
---|
13 | |
---|
14 | <SCRIPT type="text/javascript"> |
---|
15 | function windowTitle() |
---|
16 | { |
---|
17 | if (location.href.indexOf('is-external=true') == -1) { |
---|
18 | parent.document.title="KosmosFileSystem (Hadoop 0.20.1 API)"; |
---|
19 | } |
---|
20 | } |
---|
21 | </SCRIPT> |
---|
22 | <NOSCRIPT> |
---|
23 | </NOSCRIPT> |
---|
24 | |
---|
25 | </HEAD> |
---|
26 | |
---|
27 | <BODY BGCOLOR="white" onload="windowTitle();"> |
---|
28 | <HR> |
---|
29 | |
---|
30 | |
---|
31 | <!-- ========= START OF TOP NAVBAR ======= --> |
---|
32 | <A NAME="navbar_top"><!-- --></A> |
---|
33 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
---|
34 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
35 | <TR> |
---|
36 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
37 | <A NAME="navbar_top_firstrow"><!-- --></A> |
---|
38 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
39 | <TR ALIGN="center" VALIGN="top"> |
---|
40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
42 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
43 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/KosmosFileSystem.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
44 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
45 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
46 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
47 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
48 | </TR> |
---|
49 | </TABLE> |
---|
50 | </TD> |
---|
51 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
52 | </EM> |
---|
53 | </TD> |
---|
54 | </TR> |
---|
55 | |
---|
56 | <TR> |
---|
57 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
58 | PREV CLASS |
---|
59 | NEXT CLASS</FONT></TD> |
---|
60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
61 | <A HREF="../../../../../index.html?org/apache/hadoop/fs/kfs/KosmosFileSystem.html" target="_top"><B>FRAMES</B></A> |
---|
62 | <A HREF="KosmosFileSystem.html" target="_top"><B>NO FRAMES</B></A> |
---|
63 | <SCRIPT type="text/javascript"> |
---|
64 | <!-- |
---|
65 | if(window==top) { |
---|
66 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
67 | } |
---|
68 | //--> |
---|
69 | </SCRIPT> |
---|
70 | <NOSCRIPT> |
---|
71 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
72 | </NOSCRIPT> |
---|
73 | |
---|
74 | |
---|
75 | </FONT></TD> |
---|
76 | </TR> |
---|
77 | <TR> |
---|
78 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
79 | SUMMARY: <A HREF="#nested_classes_inherited_from_class_org.apache.hadoop.fs.FileSystem">NESTED</A> | <A HREF="#fields_inherited_from_class_org.apache.hadoop.fs.FileSystem">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
80 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
81 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
82 | </TR> |
---|
83 | </TABLE> |
---|
84 | <A NAME="skip-navbar_top"></A> |
---|
85 | <!-- ========= END OF TOP NAVBAR ========= --> |
---|
86 | |
---|
87 | <HR> |
---|
88 | <!-- ======== START OF CLASS DATA ======== --> |
---|
89 | <H2> |
---|
90 | <FONT SIZE="-1"> |
---|
91 | org.apache.hadoop.fs.kfs</FONT> |
---|
92 | <BR> |
---|
93 | Class KosmosFileSystem</H2> |
---|
94 | <PRE> |
---|
95 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
---|
96 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/apache/hadoop/conf/Configured.html" title="class in org.apache.hadoop.conf">org.apache.hadoop.conf.Configured</A> |
---|
97 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">org.apache.hadoop.fs.FileSystem</A> |
---|
98 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.hadoop.fs.kfs.KosmosFileSystem</B> |
---|
99 | </PRE> |
---|
100 | <DL> |
---|
101 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/javase/6/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</A>, <A HREF="../../../../../org/apache/hadoop/conf/Configurable.html" title="interface in org.apache.hadoop.conf">Configurable</A></DD> |
---|
102 | </DL> |
---|
103 | <HR> |
---|
104 | <DL> |
---|
105 | <DT><PRE>public class <B>KosmosFileSystem</B><DT>extends <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A></DL> |
---|
106 | </PRE> |
---|
107 | |
---|
108 | <P> |
---|
109 | A FileSystem backed by KFS. |
---|
110 | <P> |
---|
111 | |
---|
112 | <P> |
---|
113 | <HR> |
---|
114 | |
---|
115 | <P> |
---|
116 | <!-- ======== NESTED CLASS SUMMARY ======== --> |
---|
117 | |
---|
118 | <A NAME="nested_class_summary"><!-- --></A> |
---|
119 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
120 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
121 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
122 | <B>Nested Class Summary</B></FONT></TH> |
---|
123 | </TR> |
---|
124 | </TABLE> |
---|
125 | <A NAME="nested_classes_inherited_from_class_org.apache.hadoop.fs.FileSystem"><!-- --></A> |
---|
126 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
127 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
128 | <TH ALIGN="left"><B>Nested classes/interfaces inherited from class org.apache.hadoop.fs.<A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A></B></TH> |
---|
129 | </TR> |
---|
130 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
131 | <TD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.Statistics.html" title="class in org.apache.hadoop.fs">FileSystem.Statistics</A></CODE></TD> |
---|
132 | </TR> |
---|
133 | </TABLE> |
---|
134 | |
---|
135 | <!-- =========== FIELD SUMMARY =========== --> |
---|
136 | |
---|
137 | <A NAME="field_summary"><!-- --></A> |
---|
138 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
139 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
140 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
141 | <B>Field Summary</B></FONT></TH> |
---|
142 | </TR> |
---|
143 | </TABLE> |
---|
144 | <A NAME="fields_inherited_from_class_org.apache.hadoop.fs.FileSystem"><!-- --></A> |
---|
145 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
146 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
147 | <TH ALIGN="left"><B>Fields inherited from class org.apache.hadoop.fs.<A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A></B></TH> |
---|
148 | </TR> |
---|
149 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
150 | <TD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#LOG">LOG</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#statistics">statistics</A></CODE></TD> |
---|
151 | </TR> |
---|
152 | </TABLE> |
---|
153 | |
---|
154 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
155 | |
---|
156 | <A NAME="constructor_summary"><!-- --></A> |
---|
157 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
158 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
159 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
160 | <B>Constructor Summary</B></FONT></TH> |
---|
161 | </TR> |
---|
162 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
163 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/kfs/KosmosFileSystem.html#KosmosFileSystem()">KosmosFileSystem</A></B>()</CODE> |
---|
164 | |
---|
165 | <BR> |
---|
166 | </TD> |
---|
167 | </TR> |
---|
168 | </TABLE> |
---|
169 | |
---|
170 | <!-- ========== METHOD SUMMARY =========== --> |
---|
171 | |
---|
172 | <A NAME="method_summary"><!-- --></A> |
---|
173 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
174 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
175 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
176 | <B>Method Summary</B></FONT></TH> |
---|
177 | </TR> |
---|
178 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
179 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
180 | <CODE> <A HREF="../../../../../org/apache/hadoop/fs/FSDataOutputStream.html" title="class in org.apache.hadoop.fs">FSDataOutputStream</A></CODE></FONT></TD> |
---|
181 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/kfs/KosmosFileSystem.html#append(org.apache.hadoop.fs.Path, int, org.apache.hadoop.util.Progressable)">append</A></B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> f, |
---|
182 | int bufferSize, |
---|
183 | <A HREF="../../../../../org/apache/hadoop/util/Progressable.html" title="interface in org.apache.hadoop.util">Progressable</A> progress)</CODE> |
---|
184 | |
---|
185 | <BR> |
---|
186 | This optional operation is not yet supported.</TD> |
---|
187 | </TR> |
---|
188 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
189 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
190 | <CODE> void</CODE></FONT></TD> |
---|
191 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/kfs/KosmosFileSystem.html#completeLocalOutput(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.Path)">completeLocalOutput</A></B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> fsOutputFile, |
---|
192 | <A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> tmpLocalFile)</CODE> |
---|
193 | |
---|
194 | <BR> |
---|
195 | Called when we're all done writing to the target.</TD> |
---|
196 | </TR> |
---|
197 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
198 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
199 | <CODE> void</CODE></FONT></TD> |
---|
200 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/kfs/KosmosFileSystem.html#copyFromLocalFile(boolean, org.apache.hadoop.fs.Path, org.apache.hadoop.fs.Path)">copyFromLocalFile</A></B>(boolean delSrc, |
---|
201 | <A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> src, |
---|
202 | <A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> dst)</CODE> |
---|
203 | |
---|
204 | <BR> |
---|
205 | The src file is on the local disk.</TD> |
---|
206 | </TR> |
---|
207 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
208 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
209 | <CODE> void</CODE></FONT></TD> |
---|
210 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/kfs/KosmosFileSystem.html#copyToLocalFile(boolean, org.apache.hadoop.fs.Path, org.apache.hadoop.fs.Path)">copyToLocalFile</A></B>(boolean delSrc, |
---|
211 | <A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> src, |
---|
212 | <A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> dst)</CODE> |
---|
213 | |
---|
214 | <BR> |
---|
215 | The src file is under FS, and the dst is on the local disk.</TD> |
---|
216 | </TR> |
---|
217 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
218 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
219 | <CODE> <A HREF="../../../../../org/apache/hadoop/fs/FSDataOutputStream.html" title="class in org.apache.hadoop.fs">FSDataOutputStream</A></CODE></FONT></TD> |
---|
220 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/kfs/KosmosFileSystem.html#create(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.permission.FsPermission, boolean, int, short, long, org.apache.hadoop.util.Progressable)">create</A></B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> file, |
---|
221 | <A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A> permission, |
---|
222 | boolean overwrite, |
---|
223 | int bufferSize, |
---|
224 | short replication, |
---|
225 | long blockSize, |
---|
226 | <A HREF="../../../../../org/apache/hadoop/util/Progressable.html" title="interface in org.apache.hadoop.util">Progressable</A> progress)</CODE> |
---|
227 | |
---|
228 | <BR> |
---|
229 | Opens an FSDataOutputStream at the indicated Path with write-progress |
---|
230 | reporting.</TD> |
---|
231 | </TR> |
---|
232 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
233 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
234 | <CODE> boolean</CODE></FONT></TD> |
---|
235 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/kfs/KosmosFileSystem.html#delete(org.apache.hadoop.fs.Path)">delete</A></B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path)</CODE> |
---|
236 | |
---|
237 | <BR> |
---|
238 | <B>Deprecated.</B> </TD> |
---|
239 | </TR> |
---|
240 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
241 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
242 | <CODE> boolean</CODE></FONT></TD> |
---|
243 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/kfs/KosmosFileSystem.html#delete(org.apache.hadoop.fs.Path, boolean)">delete</A></B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path, |
---|
244 | boolean recursive)</CODE> |
---|
245 | |
---|
246 | <BR> |
---|
247 | Delete a file.</TD> |
---|
248 | </TR> |
---|
249 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
250 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
251 | <CODE> long</CODE></FONT></TD> |
---|
252 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/kfs/KosmosFileSystem.html#getDefaultBlockSize()">getDefaultBlockSize</A></B>()</CODE> |
---|
253 | |
---|
254 | <BR> |
---|
255 | Return the number of bytes that large input files should be optimally |
---|
256 | be split into to minimize i/o time.</TD> |
---|
257 | </TR> |
---|
258 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
259 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
260 | <CODE> short</CODE></FONT></TD> |
---|
261 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/kfs/KosmosFileSystem.html#getDefaultReplication()">getDefaultReplication</A></B>()</CODE> |
---|
262 | |
---|
263 | <BR> |
---|
264 | Get the default replication.</TD> |
---|
265 | </TR> |
---|
266 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
267 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
268 | <CODE> <A HREF="../../../../../org/apache/hadoop/fs/BlockLocation.html" title="class in org.apache.hadoop.fs">BlockLocation</A>[]</CODE></FONT></TD> |
---|
269 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/kfs/KosmosFileSystem.html#getFileBlockLocations(org.apache.hadoop.fs.FileStatus, long, long)">getFileBlockLocations</A></B>(<A HREF="../../../../../org/apache/hadoop/fs/FileStatus.html" title="class in org.apache.hadoop.fs">FileStatus</A> file, |
---|
270 | long start, |
---|
271 | long len)</CODE> |
---|
272 | |
---|
273 | <BR> |
---|
274 | Return null if the file doesn't exist; otherwise, get the |
---|
275 | locations of the various chunks of the file file from KFS.</TD> |
---|
276 | </TR> |
---|
277 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
278 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
279 | <CODE> <A HREF="../../../../../org/apache/hadoop/fs/FileStatus.html" title="class in org.apache.hadoop.fs">FileStatus</A></CODE></FONT></TD> |
---|
280 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/kfs/KosmosFileSystem.html#getFileStatus(org.apache.hadoop.fs.Path)">getFileStatus</A></B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path)</CODE> |
---|
281 | |
---|
282 | <BR> |
---|
283 | Return a file status object that represents the path.</TD> |
---|
284 | </TR> |
---|
285 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
286 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
287 | <CODE> long</CODE></FONT></TD> |
---|
288 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/kfs/KosmosFileSystem.html#getLength(org.apache.hadoop.fs.Path)">getLength</A></B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path)</CODE> |
---|
289 | |
---|
290 | <BR> |
---|
291 | <B>Deprecated.</B> </TD> |
---|
292 | </TR> |
---|
293 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
294 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
295 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
296 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/kfs/KosmosFileSystem.html#getName()">getName</A></B>()</CODE> |
---|
297 | |
---|
298 | <BR> |
---|
299 | <B>Deprecated.</B> </TD> |
---|
300 | </TR> |
---|
301 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
302 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
303 | <CODE> short</CODE></FONT></TD> |
---|
304 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/kfs/KosmosFileSystem.html#getReplication(org.apache.hadoop.fs.Path)">getReplication</A></B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path)</CODE> |
---|
305 | |
---|
306 | <BR> |
---|
307 | <B>Deprecated.</B> </TD> |
---|
308 | </TR> |
---|
309 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
310 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
311 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</A></CODE></FONT></TD> |
---|
312 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/kfs/KosmosFileSystem.html#getUri()">getUri</A></B>()</CODE> |
---|
313 | |
---|
314 | <BR> |
---|
315 | Returns a URI whose scheme and authority identify this FileSystem.</TD> |
---|
316 | </TR> |
---|
317 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
318 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
319 | <CODE> <A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A></CODE></FONT></TD> |
---|
320 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/kfs/KosmosFileSystem.html#getWorkingDirectory()">getWorkingDirectory</A></B>()</CODE> |
---|
321 | |
---|
322 | <BR> |
---|
323 | Get the current working directory for the given file system</TD> |
---|
324 | </TR> |
---|
325 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
326 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
327 | <CODE> void</CODE></FONT></TD> |
---|
328 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/kfs/KosmosFileSystem.html#initialize(java.net.URI, org.apache.hadoop.conf.Configuration)">initialize</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</A> uri, |
---|
329 | <A HREF="../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A> conf)</CODE> |
---|
330 | |
---|
331 | <BR> |
---|
332 | Called after a new FileSystem instance is constructed.</TD> |
---|
333 | </TR> |
---|
334 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
335 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
336 | <CODE> boolean</CODE></FONT></TD> |
---|
337 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/kfs/KosmosFileSystem.html#isDirectory(org.apache.hadoop.fs.Path)">isDirectory</A></B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path)</CODE> |
---|
338 | |
---|
339 | <BR> |
---|
340 | <B>Deprecated.</B> </TD> |
---|
341 | </TR> |
---|
342 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
343 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
344 | <CODE> boolean</CODE></FONT></TD> |
---|
345 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/kfs/KosmosFileSystem.html#isFile(org.apache.hadoop.fs.Path)">isFile</A></B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path)</CODE> |
---|
346 | |
---|
347 | <BR> |
---|
348 | <B>Deprecated.</B> </TD> |
---|
349 | </TR> |
---|
350 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
351 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
352 | <CODE> <A HREF="../../../../../org/apache/hadoop/fs/FileStatus.html" title="class in org.apache.hadoop.fs">FileStatus</A>[]</CODE></FONT></TD> |
---|
353 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/kfs/KosmosFileSystem.html#listStatus(org.apache.hadoop.fs.Path)">listStatus</A></B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path)</CODE> |
---|
354 | |
---|
355 | <BR> |
---|
356 | List the statuses of the files/directories in the given path if the path is |
---|
357 | a directory.</TD> |
---|
358 | </TR> |
---|
359 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
360 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
361 | <CODE> void</CODE></FONT></TD> |
---|
362 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/kfs/KosmosFileSystem.html#lock(org.apache.hadoop.fs.Path, boolean)">lock</A></B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path, |
---|
363 | boolean shared)</CODE> |
---|
364 | |
---|
365 | <BR> |
---|
366 | <B>Deprecated.</B> </TD> |
---|
367 | </TR> |
---|
368 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
369 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
370 | <CODE> boolean</CODE></FONT></TD> |
---|
371 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/kfs/KosmosFileSystem.html#mkdirs(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.permission.FsPermission)">mkdirs</A></B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path, |
---|
372 | <A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A> permission)</CODE> |
---|
373 | |
---|
374 | <BR> |
---|
375 | Make the given file and all non-existent parents into |
---|
376 | directories.</TD> |
---|
377 | </TR> |
---|
378 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
379 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
380 | <CODE> <A HREF="../../../../../org/apache/hadoop/fs/FSDataInputStream.html" title="class in org.apache.hadoop.fs">FSDataInputStream</A></CODE></FONT></TD> |
---|
381 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/kfs/KosmosFileSystem.html#open(org.apache.hadoop.fs.Path, int)">open</A></B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path, |
---|
382 | int bufferSize)</CODE> |
---|
383 | |
---|
384 | <BR> |
---|
385 | Opens an FSDataInputStream at the indicated Path.</TD> |
---|
386 | </TR> |
---|
387 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
388 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
389 | <CODE> void</CODE></FONT></TD> |
---|
390 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/kfs/KosmosFileSystem.html#release(org.apache.hadoop.fs.Path)">release</A></B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path)</CODE> |
---|
391 | |
---|
392 | <BR> |
---|
393 | <B>Deprecated.</B> </TD> |
---|
394 | </TR> |
---|
395 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
396 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
397 | <CODE> boolean</CODE></FONT></TD> |
---|
398 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/kfs/KosmosFileSystem.html#rename(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.Path)">rename</A></B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> src, |
---|
399 | <A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> dst)</CODE> |
---|
400 | |
---|
401 | <BR> |
---|
402 | Renames Path src to Path dst.</TD> |
---|
403 | </TR> |
---|
404 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
405 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
406 | <CODE> boolean</CODE></FONT></TD> |
---|
407 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/kfs/KosmosFileSystem.html#setReplication(org.apache.hadoop.fs.Path, short)">setReplication</A></B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path, |
---|
408 | short replication)</CODE> |
---|
409 | |
---|
410 | <BR> |
---|
411 | Set replication for an existing file.</TD> |
---|
412 | </TR> |
---|
413 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
414 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
415 | <CODE> void</CODE></FONT></TD> |
---|
416 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/kfs/KosmosFileSystem.html#setWorkingDirectory(org.apache.hadoop.fs.Path)">setWorkingDirectory</A></B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> dir)</CODE> |
---|
417 | |
---|
418 | <BR> |
---|
419 | Set the current working directory for the given file system.</TD> |
---|
420 | </TR> |
---|
421 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
422 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
423 | <CODE> <A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A></CODE></FONT></TD> |
---|
424 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/kfs/KosmosFileSystem.html#startLocalOutput(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.Path)">startLocalOutput</A></B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> fsOutputFile, |
---|
425 | <A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> tmpLocalFile)</CODE> |
---|
426 | |
---|
427 | <BR> |
---|
428 | Returns a local File that the user can write output to.</TD> |
---|
429 | </TR> |
---|
430 | </TABLE> |
---|
431 | <A NAME="methods_inherited_from_class_org.apache.hadoop.fs.FileSystem"><!-- --></A> |
---|
432 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
433 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
434 | <TH ALIGN="left"><B>Methods inherited from class org.apache.hadoop.fs.<A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A></B></TH> |
---|
435 | </TR> |
---|
436 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
437 | <TD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#append(org.apache.hadoop.fs.Path)">append</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#append(org.apache.hadoop.fs.Path, int)">append</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#checkPath(org.apache.hadoop.fs.Path)">checkPath</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#clearStatistics()">clearStatistics</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#close()">close</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#closeAll()">closeAll</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#copyFromLocalFile(boolean, boolean, org.apache.hadoop.fs.Path[], org.apache.hadoop.fs.Path)">copyFromLocalFile</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#copyFromLocalFile(boolean, boolean, org.apache.hadoop.fs.Path, org.apache.hadoop.fs.Path)">copyFromLocalFile</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#copyFromLocalFile(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.Path)">copyFromLocalFile</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#copyToLocalFile(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.Path)">copyToLocalFile</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#create(org.apache.hadoop.fs.FileSystem, org.apache.hadoop.fs.Path, org.apache.hadoop.fs.permission.FsPermission)">create</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#create(org.apache.hadoop.fs.Path)">create</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#create(org.apache.hadoop.fs.Path, boolean)">create</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#create(org.apache.hadoop.fs.Path, boolean, int)">create</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#create(org.apache.hadoop.fs.Path, boolean, int, org.apache.hadoop.util.Progressable)">create</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#create(org.apache.hadoop.fs.Path, boolean, int, short, long)">create</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#create(org.apache.hadoop.fs.Path, boolean, int, short, long, org.apache.hadoop.util.Progressable)">create</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#create(org.apache.hadoop.fs.Path, org.apache.hadoop.util.Progressable)">create</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#create(org.apache.hadoop.fs.Path, short)">create</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#create(org.apache.hadoop.fs.Path, short, org.apache.hadoop.util.Progressable)">create</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#createNewFile(org.apache.hadoop.fs.Path)">createNewFile</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#deleteOnExit(org.apache.hadoop.fs.Path)">deleteOnExit</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#exists(org.apache.hadoop.fs.Path)">exists</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#get(org.apache.hadoop.conf.Configuration)">get</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#get(java.net.URI, org.apache.hadoop.conf.Configuration)">get</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#getAllStatistics()">getAllStatistics</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#getBlockSize(org.apache.hadoop.fs.Path)">getBlockSize</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#getContentSummary(org.apache.hadoop.fs.Path)">getContentSummary</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#getDefaultUri(org.apache.hadoop.conf.Configuration)">getDefaultUri</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#getFileChecksum(org.apache.hadoop.fs.Path)">getFileChecksum</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#getHomeDirectory()">getHomeDirectory</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#getLocal(org.apache.hadoop.conf.Configuration)">getLocal</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#getNamed(java.lang.String, org.apache.hadoop.conf.Configuration)">getNamed</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#getStatistics()">getStatistics</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#getStatistics(java.lang.String, java.lang.Class)">getStatistics</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#getUsed()">getUsed</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#globStatus(org.apache.hadoop.fs.Path)">globStatus</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#globStatus(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.PathFilter)">globStatus</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#listStatus(org.apache.hadoop.fs.Path[])">listStatus</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#listStatus(org.apache.hadoop.fs.Path[], org.apache.hadoop.fs.PathFilter)">listStatus</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#listStatus(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.PathFilter)">listStatus</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#makeQualified(org.apache.hadoop.fs.Path)">makeQualified</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#mkdirs(org.apache.hadoop.fs.FileSystem, org.apache.hadoop.fs.Path, org.apache.hadoop.fs.permission.FsPermission)">mkdirs</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#mkdirs(org.apache.hadoop.fs.Path)">mkdirs</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#moveFromLocalFile(org.apache.hadoop.fs.Path[], org.apache.hadoop.fs.Path)">moveFromLocalFile</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#moveFromLocalFile(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.Path)">moveFromLocalFile</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#moveToLocalFile(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.Path)">moveToLocalFile</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#open(org.apache.hadoop.fs.Path)">open</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#printStatistics()">printStatistics</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#processDeleteOnExit()">processDeleteOnExit</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#setDefaultUri(org.apache.hadoop.conf.Configuration, java.lang.String)">setDefaultUri</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#setDefaultUri(org.apache.hadoop.conf.Configuration, java.net.URI)">setDefaultUri</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#setOwner(org.apache.hadoop.fs.Path, java.lang.String, java.lang.String)">setOwner</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#setPermission(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.permission.FsPermission)">setPermission</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#setTimes(org.apache.hadoop.fs.Path, long, long)">setTimes</A>, <A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#setVerifyChecksum(boolean)">setVerifyChecksum</A></CODE></TD> |
---|
438 | </TR> |
---|
439 | </TABLE> |
---|
440 | <A NAME="methods_inherited_from_class_org.apache.hadoop.conf.Configured"><!-- --></A> |
---|
441 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
442 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
443 | <TH ALIGN="left"><B>Methods inherited from class org.apache.hadoop.conf.<A HREF="../../../../../org/apache/hadoop/conf/Configured.html" title="class in org.apache.hadoop.conf">Configured</A></B></TH> |
---|
444 | </TR> |
---|
445 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
446 | <TD><CODE><A HREF="../../../../../org/apache/hadoop/conf/Configured.html#getConf()">getConf</A>, <A HREF="../../../../../org/apache/hadoop/conf/Configured.html#setConf(org.apache.hadoop.conf.Configuration)">setConf</A></CODE></TD> |
---|
447 | </TR> |
---|
448 | </TABLE> |
---|
449 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
450 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
451 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
452 | <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
---|
453 | </TR> |
---|
454 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
455 | <TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
---|
456 | </TR> |
---|
457 | </TABLE> |
---|
458 | |
---|
459 | <P> |
---|
460 | |
---|
461 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
462 | |
---|
463 | <A NAME="constructor_detail"><!-- --></A> |
---|
464 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
465 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
466 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
467 | <B>Constructor Detail</B></FONT></TH> |
---|
468 | </TR> |
---|
469 | </TABLE> |
---|
470 | |
---|
471 | <A NAME="KosmosFileSystem()"><!-- --></A><H3> |
---|
472 | KosmosFileSystem</H3> |
---|
473 | <PRE> |
---|
474 | public <B>KosmosFileSystem</B>()</PRE> |
---|
475 | <DL> |
---|
476 | </DL> |
---|
477 | |
---|
478 | <!-- ============ METHOD DETAIL ========== --> |
---|
479 | |
---|
480 | <A NAME="method_detail"><!-- --></A> |
---|
481 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
482 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
483 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
484 | <B>Method Detail</B></FONT></TH> |
---|
485 | </TR> |
---|
486 | </TABLE> |
---|
487 | |
---|
488 | <A NAME="getUri()"><!-- --></A><H3> |
---|
489 | getUri</H3> |
---|
490 | <PRE> |
---|
491 | public <A HREF="http://java.sun.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</A> <B>getUri</B>()</PRE> |
---|
492 | <DL> |
---|
493 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#getUri()">FileSystem</A></CODE></B></DD> |
---|
494 | <DD>Returns a URI whose scheme and authority identify this FileSystem. |
---|
495 | <P> |
---|
496 | <DD><DL> |
---|
497 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#getUri()">getUri</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A></CODE></DL> |
---|
498 | </DD> |
---|
499 | <DD><DL> |
---|
500 | </DL> |
---|
501 | </DD> |
---|
502 | </DL> |
---|
503 | <HR> |
---|
504 | |
---|
505 | <A NAME="initialize(java.net.URI, org.apache.hadoop.conf.Configuration)"><!-- --></A><H3> |
---|
506 | initialize</H3> |
---|
507 | <PRE> |
---|
508 | public void <B>initialize</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</A> uri, |
---|
509 | <A HREF="../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A> conf) |
---|
510 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
511 | <DL> |
---|
512 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#initialize(java.net.URI, org.apache.hadoop.conf.Configuration)">FileSystem</A></CODE></B></DD> |
---|
513 | <DD>Called after a new FileSystem instance is constructed. |
---|
514 | <P> |
---|
515 | <DD><DL> |
---|
516 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#initialize(java.net.URI, org.apache.hadoop.conf.Configuration)">initialize</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A></CODE></DL> |
---|
517 | </DD> |
---|
518 | <DD><DL> |
---|
519 | <DT><B>Parameters:</B><DD><CODE>uri</CODE> - a uri whose authority section names the host, port, etc. |
---|
520 | for this FileSystem<DD><CODE>conf</CODE> - the configuration |
---|
521 | <DT><B>Throws:</B> |
---|
522 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
523 | </DD> |
---|
524 | </DL> |
---|
525 | <HR> |
---|
526 | |
---|
527 | <A NAME="getName()"><!-- --></A><H3> |
---|
528 | getName</H3> |
---|
529 | <PRE> |
---|
530 | <FONT SIZE="-1"><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</A> |
---|
531 | </FONT>public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getName</B>()</PRE> |
---|
532 | <DL> |
---|
533 | <DD><B>Deprecated.</B> |
---|
534 | <P> |
---|
535 | <DD><DL> |
---|
536 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#getName()">getName</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A></CODE></DL> |
---|
537 | </DD> |
---|
538 | <DD><DL> |
---|
539 | </DL> |
---|
540 | </DD> |
---|
541 | </DL> |
---|
542 | <HR> |
---|
543 | |
---|
544 | <A NAME="getWorkingDirectory()"><!-- --></A><H3> |
---|
545 | getWorkingDirectory</H3> |
---|
546 | <PRE> |
---|
547 | public <A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> <B>getWorkingDirectory</B>()</PRE> |
---|
548 | <DL> |
---|
549 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#getWorkingDirectory()">FileSystem</A></CODE></B></DD> |
---|
550 | <DD>Get the current working directory for the given file system |
---|
551 | <P> |
---|
552 | <DD><DL> |
---|
553 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#getWorkingDirectory()">getWorkingDirectory</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A></CODE></DL> |
---|
554 | </DD> |
---|
555 | <DD><DL> |
---|
556 | |
---|
557 | <DT><B>Returns:</B><DD>the directory pathname</DL> |
---|
558 | </DD> |
---|
559 | </DL> |
---|
560 | <HR> |
---|
561 | |
---|
562 | <A NAME="setWorkingDirectory(org.apache.hadoop.fs.Path)"><!-- --></A><H3> |
---|
563 | setWorkingDirectory</H3> |
---|
564 | <PRE> |
---|
565 | public void <B>setWorkingDirectory</B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> dir)</PRE> |
---|
566 | <DL> |
---|
567 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#setWorkingDirectory(org.apache.hadoop.fs.Path)">FileSystem</A></CODE></B></DD> |
---|
568 | <DD>Set the current working directory for the given file system. All relative |
---|
569 | paths will be resolved relative to it. |
---|
570 | <P> |
---|
571 | <DD><DL> |
---|
572 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#setWorkingDirectory(org.apache.hadoop.fs.Path)">setWorkingDirectory</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A></CODE></DL> |
---|
573 | </DD> |
---|
574 | <DD><DL> |
---|
575 | </DL> |
---|
576 | </DD> |
---|
577 | </DL> |
---|
578 | <HR> |
---|
579 | |
---|
580 | <A NAME="mkdirs(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.permission.FsPermission)"><!-- --></A><H3> |
---|
581 | mkdirs</H3> |
---|
582 | <PRE> |
---|
583 | public boolean <B>mkdirs</B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path, |
---|
584 | <A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A> permission) |
---|
585 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
586 | <DL> |
---|
587 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#mkdirs(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.permission.FsPermission)">FileSystem</A></CODE></B></DD> |
---|
588 | <DD>Make the given file and all non-existent parents into |
---|
589 | directories. Has the semantics of Unix 'mkdir -p'. |
---|
590 | Existence of the directory hierarchy is not an error. |
---|
591 | <P> |
---|
592 | <DD><DL> |
---|
593 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#mkdirs(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.permission.FsPermission)">mkdirs</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A></CODE></DL> |
---|
594 | </DD> |
---|
595 | <DD><DL> |
---|
596 | |
---|
597 | <DT><B>Throws:</B> |
---|
598 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
599 | </DD> |
---|
600 | </DL> |
---|
601 | <HR> |
---|
602 | |
---|
603 | <A NAME="isDirectory(org.apache.hadoop.fs.Path)"><!-- --></A><H3> |
---|
604 | isDirectory</H3> |
---|
605 | <PRE> |
---|
606 | <FONT SIZE="-1"><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</A> |
---|
607 | </FONT>public boolean <B>isDirectory</B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path) |
---|
608 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
609 | <DL> |
---|
610 | <DD><B>Deprecated.</B> |
---|
611 | <P> |
---|
612 | <DD><DL> |
---|
613 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#isDirectory(org.apache.hadoop.fs.Path)">isDirectory</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A></CODE></DL> |
---|
614 | </DD> |
---|
615 | <DD><DL> |
---|
616 | |
---|
617 | <DT><B>Throws:</B> |
---|
618 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
619 | </DD> |
---|
620 | </DL> |
---|
621 | <HR> |
---|
622 | |
---|
623 | <A NAME="isFile(org.apache.hadoop.fs.Path)"><!-- --></A><H3> |
---|
624 | isFile</H3> |
---|
625 | <PRE> |
---|
626 | <FONT SIZE="-1"><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</A> |
---|
627 | </FONT>public boolean <B>isFile</B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path) |
---|
628 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
629 | <DL> |
---|
630 | <DD><B>Deprecated.</B> |
---|
631 | <P> |
---|
632 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#isFile(org.apache.hadoop.fs.Path)">FileSystem</A></CODE></B></DD> |
---|
633 | <DD>True iff the named path is a regular file. |
---|
634 | <P> |
---|
635 | <DD><DL> |
---|
636 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#isFile(org.apache.hadoop.fs.Path)">isFile</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A></CODE></DL> |
---|
637 | </DD> |
---|
638 | <DD><DL> |
---|
639 | |
---|
640 | <DT><B>Throws:</B> |
---|
641 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
642 | </DD> |
---|
643 | </DL> |
---|
644 | <HR> |
---|
645 | |
---|
646 | <A NAME="listStatus(org.apache.hadoop.fs.Path)"><!-- --></A><H3> |
---|
647 | listStatus</H3> |
---|
648 | <PRE> |
---|
649 | public <A HREF="../../../../../org/apache/hadoop/fs/FileStatus.html" title="class in org.apache.hadoop.fs">FileStatus</A>[] <B>listStatus</B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path) |
---|
650 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
651 | <DL> |
---|
652 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#listStatus(org.apache.hadoop.fs.Path)">FileSystem</A></CODE></B></DD> |
---|
653 | <DD>List the statuses of the files/directories in the given path if the path is |
---|
654 | a directory. |
---|
655 | <P> |
---|
656 | <DD><DL> |
---|
657 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#listStatus(org.apache.hadoop.fs.Path)">listStatus</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A></CODE></DL> |
---|
658 | </DD> |
---|
659 | <DD><DL> |
---|
660 | <DT><B>Parameters:</B><DD><CODE>path</CODE> - given path |
---|
661 | <DT><B>Returns:</B><DD>the statuses of the files/directories in the given patch |
---|
662 | <DT><B>Throws:</B> |
---|
663 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
664 | </DD> |
---|
665 | </DL> |
---|
666 | <HR> |
---|
667 | |
---|
668 | <A NAME="getFileStatus(org.apache.hadoop.fs.Path)"><!-- --></A><H3> |
---|
669 | getFileStatus</H3> |
---|
670 | <PRE> |
---|
671 | public <A HREF="../../../../../org/apache/hadoop/fs/FileStatus.html" title="class in org.apache.hadoop.fs">FileStatus</A> <B>getFileStatus</B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path) |
---|
672 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
673 | <DL> |
---|
674 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#getFileStatus(org.apache.hadoop.fs.Path)">FileSystem</A></CODE></B></DD> |
---|
675 | <DD>Return a file status object that represents the path. |
---|
676 | <P> |
---|
677 | <DD><DL> |
---|
678 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#getFileStatus(org.apache.hadoop.fs.Path)">getFileStatus</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A></CODE></DL> |
---|
679 | </DD> |
---|
680 | <DD><DL> |
---|
681 | <DT><B>Parameters:</B><DD><CODE>path</CODE> - The path we want information from |
---|
682 | <DT><B>Returns:</B><DD>a FileStatus object |
---|
683 | <DT><B>Throws:</B> |
---|
684 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/FileNotFoundException.html?is-external=true" title="class or interface in java.io">FileNotFoundException</A></CODE> - when the path does not exist; |
---|
685 | IOException see specific implementation |
---|
686 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
687 | </DD> |
---|
688 | </DL> |
---|
689 | <HR> |
---|
690 | |
---|
691 | <A NAME="append(org.apache.hadoop.fs.Path, int, org.apache.hadoop.util.Progressable)"><!-- --></A><H3> |
---|
692 | append</H3> |
---|
693 | <PRE> |
---|
694 | public <A HREF="../../../../../org/apache/hadoop/fs/FSDataOutputStream.html" title="class in org.apache.hadoop.fs">FSDataOutputStream</A> <B>append</B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> f, |
---|
695 | int bufferSize, |
---|
696 | <A HREF="../../../../../org/apache/hadoop/util/Progressable.html" title="interface in org.apache.hadoop.util">Progressable</A> progress) |
---|
697 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
698 | <DL> |
---|
699 | <DD>This optional operation is not yet supported. |
---|
700 | <P> |
---|
701 | <DD><DL> |
---|
702 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#append(org.apache.hadoop.fs.Path, int, org.apache.hadoop.util.Progressable)">append</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A></CODE></DL> |
---|
703 | </DD> |
---|
704 | <DD><DL> |
---|
705 | <DT><B>Parameters:</B><DD><CODE>f</CODE> - the existing file to be appended.<DD><CODE>bufferSize</CODE> - the size of the buffer to be used.<DD><CODE>progress</CODE> - for reporting progress if it is not null. |
---|
706 | <DT><B>Throws:</B> |
---|
707 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
708 | </DD> |
---|
709 | </DL> |
---|
710 | <HR> |
---|
711 | |
---|
712 | <A NAME="create(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.permission.FsPermission, boolean, int, short, long, org.apache.hadoop.util.Progressable)"><!-- --></A><H3> |
---|
713 | create</H3> |
---|
714 | <PRE> |
---|
715 | public <A HREF="../../../../../org/apache/hadoop/fs/FSDataOutputStream.html" title="class in org.apache.hadoop.fs">FSDataOutputStream</A> <B>create</B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> file, |
---|
716 | <A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A> permission, |
---|
717 | boolean overwrite, |
---|
718 | int bufferSize, |
---|
719 | short replication, |
---|
720 | long blockSize, |
---|
721 | <A HREF="../../../../../org/apache/hadoop/util/Progressable.html" title="interface in org.apache.hadoop.util">Progressable</A> progress) |
---|
722 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
723 | <DL> |
---|
724 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#create(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.permission.FsPermission, boolean, int, short, long, org.apache.hadoop.util.Progressable)">FileSystem</A></CODE></B></DD> |
---|
725 | <DD>Opens an FSDataOutputStream at the indicated Path with write-progress |
---|
726 | reporting. |
---|
727 | <P> |
---|
728 | <DD><DL> |
---|
729 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#create(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.permission.FsPermission, boolean, int, short, long, org.apache.hadoop.util.Progressable)">create</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A></CODE></DL> |
---|
730 | </DD> |
---|
731 | <DD><DL> |
---|
732 | <DT><B>Parameters:</B><DD><CODE>file</CODE> - the file name to open<DD><CODE>overwrite</CODE> - if a file with this name already exists, then if true, |
---|
733 | the file will be overwritten, and if false an error will be thrown.<DD><CODE>bufferSize</CODE> - the size of the buffer to be used.<DD><CODE>replication</CODE> - required block replication for the file. |
---|
734 | <DT><B>Throws:</B> |
---|
735 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#setPermission(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.permission.FsPermission)"><CODE>FileSystem.setPermission(Path, FsPermission)</CODE></A></DL> |
---|
736 | </DD> |
---|
737 | </DL> |
---|
738 | <HR> |
---|
739 | |
---|
740 | <A NAME="open(org.apache.hadoop.fs.Path, int)"><!-- --></A><H3> |
---|
741 | open</H3> |
---|
742 | <PRE> |
---|
743 | public <A HREF="../../../../../org/apache/hadoop/fs/FSDataInputStream.html" title="class in org.apache.hadoop.fs">FSDataInputStream</A> <B>open</B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path, |
---|
744 | int bufferSize) |
---|
745 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
746 | <DL> |
---|
747 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#open(org.apache.hadoop.fs.Path, int)">FileSystem</A></CODE></B></DD> |
---|
748 | <DD>Opens an FSDataInputStream at the indicated Path. |
---|
749 | <P> |
---|
750 | <DD><DL> |
---|
751 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#open(org.apache.hadoop.fs.Path, int)">open</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A></CODE></DL> |
---|
752 | </DD> |
---|
753 | <DD><DL> |
---|
754 | <DT><B>Parameters:</B><DD><CODE>path</CODE> - the file name to open<DD><CODE>bufferSize</CODE> - the size of the buffer to be used. |
---|
755 | <DT><B>Throws:</B> |
---|
756 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
757 | </DD> |
---|
758 | </DL> |
---|
759 | <HR> |
---|
760 | |
---|
761 | <A NAME="rename(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.Path)"><!-- --></A><H3> |
---|
762 | rename</H3> |
---|
763 | <PRE> |
---|
764 | public boolean <B>rename</B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> src, |
---|
765 | <A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> dst) |
---|
766 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
767 | <DL> |
---|
768 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#rename(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.Path)">FileSystem</A></CODE></B></DD> |
---|
769 | <DD>Renames Path src to Path dst. Can take place on local fs |
---|
770 | or remote DFS. |
---|
771 | <P> |
---|
772 | <DD><DL> |
---|
773 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#rename(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.Path)">rename</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A></CODE></DL> |
---|
774 | </DD> |
---|
775 | <DD><DL> |
---|
776 | |
---|
777 | <DT><B>Throws:</B> |
---|
778 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
779 | </DD> |
---|
780 | </DL> |
---|
781 | <HR> |
---|
782 | |
---|
783 | <A NAME="delete(org.apache.hadoop.fs.Path, boolean)"><!-- --></A><H3> |
---|
784 | delete</H3> |
---|
785 | <PRE> |
---|
786 | public boolean <B>delete</B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path, |
---|
787 | boolean recursive) |
---|
788 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
789 | <DL> |
---|
790 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#delete(org.apache.hadoop.fs.Path, boolean)">FileSystem</A></CODE></B></DD> |
---|
791 | <DD>Delete a file. |
---|
792 | <P> |
---|
793 | <DD><DL> |
---|
794 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#delete(org.apache.hadoop.fs.Path, boolean)">delete</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A></CODE></DL> |
---|
795 | </DD> |
---|
796 | <DD><DL> |
---|
797 | <DT><B>Parameters:</B><DD><CODE>path</CODE> - the path to delete.<DD><CODE>recursive</CODE> - if path is a directory and set to |
---|
798 | true, the directory is deleted else throws an exception. In |
---|
799 | case of a file the recursive can be set to either true or false. |
---|
800 | <DT><B>Returns:</B><DD>true if delete is successful else false. |
---|
801 | <DT><B>Throws:</B> |
---|
802 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
803 | </DD> |
---|
804 | </DL> |
---|
805 | <HR> |
---|
806 | |
---|
807 | <A NAME="delete(org.apache.hadoop.fs.Path)"><!-- --></A><H3> |
---|
808 | delete</H3> |
---|
809 | <PRE> |
---|
810 | <FONT SIZE="-1"><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</A> |
---|
811 | </FONT>public boolean <B>delete</B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path) |
---|
812 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
813 | <DL> |
---|
814 | <DD><B>Deprecated.</B> |
---|
815 | <P> |
---|
816 | <DD><DL> |
---|
817 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#delete(org.apache.hadoop.fs.Path)">delete</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A></CODE></DL> |
---|
818 | </DD> |
---|
819 | <DD><DL> |
---|
820 | |
---|
821 | <DT><B>Throws:</B> |
---|
822 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
823 | </DD> |
---|
824 | </DL> |
---|
825 | <HR> |
---|
826 | |
---|
827 | <A NAME="getLength(org.apache.hadoop.fs.Path)"><!-- --></A><H3> |
---|
828 | getLength</H3> |
---|
829 | <PRE> |
---|
830 | <FONT SIZE="-1"><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</A> |
---|
831 | </FONT>public long <B>getLength</B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path) |
---|
832 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
833 | <DL> |
---|
834 | <DD><B>Deprecated.</B> |
---|
835 | <P> |
---|
836 | <DD><DL> |
---|
837 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#getLength(org.apache.hadoop.fs.Path)">getLength</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A></CODE></DL> |
---|
838 | </DD> |
---|
839 | <DD><DL> |
---|
840 | |
---|
841 | <DT><B>Throws:</B> |
---|
842 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
843 | </DD> |
---|
844 | </DL> |
---|
845 | <HR> |
---|
846 | |
---|
847 | <A NAME="getReplication(org.apache.hadoop.fs.Path)"><!-- --></A><H3> |
---|
848 | getReplication</H3> |
---|
849 | <PRE> |
---|
850 | <FONT SIZE="-1"><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</A> |
---|
851 | </FONT>public short <B>getReplication</B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path) |
---|
852 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
853 | <DL> |
---|
854 | <DD><B>Deprecated.</B> |
---|
855 | <P> |
---|
856 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#getReplication(org.apache.hadoop.fs.Path)">FileSystem</A></CODE></B></DD> |
---|
857 | <DD>Get replication. |
---|
858 | <P> |
---|
859 | <DD><DL> |
---|
860 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#getReplication(org.apache.hadoop.fs.Path)">getReplication</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A></CODE></DL> |
---|
861 | </DD> |
---|
862 | <DD><DL> |
---|
863 | <DT><B>Parameters:</B><DD><CODE>path</CODE> - file name |
---|
864 | <DT><B>Returns:</B><DD>file replication |
---|
865 | <DT><B>Throws:</B> |
---|
866 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
867 | </DD> |
---|
868 | </DL> |
---|
869 | <HR> |
---|
870 | |
---|
871 | <A NAME="getDefaultReplication()"><!-- --></A><H3> |
---|
872 | getDefaultReplication</H3> |
---|
873 | <PRE> |
---|
874 | public short <B>getDefaultReplication</B>()</PRE> |
---|
875 | <DL> |
---|
876 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#getDefaultReplication()">FileSystem</A></CODE></B></DD> |
---|
877 | <DD>Get the default replication. |
---|
878 | <P> |
---|
879 | <DD><DL> |
---|
880 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#getDefaultReplication()">getDefaultReplication</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A></CODE></DL> |
---|
881 | </DD> |
---|
882 | <DD><DL> |
---|
883 | </DL> |
---|
884 | </DD> |
---|
885 | </DL> |
---|
886 | <HR> |
---|
887 | |
---|
888 | <A NAME="setReplication(org.apache.hadoop.fs.Path, short)"><!-- --></A><H3> |
---|
889 | setReplication</H3> |
---|
890 | <PRE> |
---|
891 | public boolean <B>setReplication</B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path, |
---|
892 | short replication) |
---|
893 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
894 | <DL> |
---|
895 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#setReplication(org.apache.hadoop.fs.Path, short)">FileSystem</A></CODE></B></DD> |
---|
896 | <DD>Set replication for an existing file. |
---|
897 | <P> |
---|
898 | <DD><DL> |
---|
899 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#setReplication(org.apache.hadoop.fs.Path, short)">setReplication</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A></CODE></DL> |
---|
900 | </DD> |
---|
901 | <DD><DL> |
---|
902 | <DT><B>Parameters:</B><DD><CODE>path</CODE> - file name<DD><CODE>replication</CODE> - new replication |
---|
903 | <DT><B>Returns:</B><DD>true if successful; |
---|
904 | false if file does not exist or is a directory |
---|
905 | <DT><B>Throws:</B> |
---|
906 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
907 | </DD> |
---|
908 | </DL> |
---|
909 | <HR> |
---|
910 | |
---|
911 | <A NAME="getDefaultBlockSize()"><!-- --></A><H3> |
---|
912 | getDefaultBlockSize</H3> |
---|
913 | <PRE> |
---|
914 | public long <B>getDefaultBlockSize</B>()</PRE> |
---|
915 | <DL> |
---|
916 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#getDefaultBlockSize()">FileSystem</A></CODE></B></DD> |
---|
917 | <DD>Return the number of bytes that large input files should be optimally |
---|
918 | be split into to minimize i/o time. |
---|
919 | <P> |
---|
920 | <DD><DL> |
---|
921 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#getDefaultBlockSize()">getDefaultBlockSize</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A></CODE></DL> |
---|
922 | </DD> |
---|
923 | <DD><DL> |
---|
924 | </DL> |
---|
925 | </DD> |
---|
926 | </DL> |
---|
927 | <HR> |
---|
928 | |
---|
929 | <A NAME="lock(org.apache.hadoop.fs.Path, boolean)"><!-- --></A><H3> |
---|
930 | lock</H3> |
---|
931 | <PRE> |
---|
932 | <FONT SIZE="-1"><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</A> |
---|
933 | </FONT>public void <B>lock</B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path, |
---|
934 | boolean shared) |
---|
935 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
936 | <DL> |
---|
937 | <DD><B>Deprecated.</B> |
---|
938 | <P> |
---|
939 | <DD><DL> |
---|
940 | |
---|
941 | <DT><B>Throws:</B> |
---|
942 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
943 | </DD> |
---|
944 | </DL> |
---|
945 | <HR> |
---|
946 | |
---|
947 | <A NAME="release(org.apache.hadoop.fs.Path)"><!-- --></A><H3> |
---|
948 | release</H3> |
---|
949 | <PRE> |
---|
950 | <FONT SIZE="-1"><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</A> |
---|
951 | </FONT>public void <B>release</B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path) |
---|
952 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
953 | <DL> |
---|
954 | <DD><B>Deprecated.</B> |
---|
955 | <P> |
---|
956 | <DD><DL> |
---|
957 | |
---|
958 | <DT><B>Throws:</B> |
---|
959 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
960 | </DD> |
---|
961 | </DL> |
---|
962 | <HR> |
---|
963 | |
---|
964 | <A NAME="getFileBlockLocations(org.apache.hadoop.fs.FileStatus, long, long)"><!-- --></A><H3> |
---|
965 | getFileBlockLocations</H3> |
---|
966 | <PRE> |
---|
967 | public <A HREF="../../../../../org/apache/hadoop/fs/BlockLocation.html" title="class in org.apache.hadoop.fs">BlockLocation</A>[] <B>getFileBlockLocations</B>(<A HREF="../../../../../org/apache/hadoop/fs/FileStatus.html" title="class in org.apache.hadoop.fs">FileStatus</A> file, |
---|
968 | long start, |
---|
969 | long len) |
---|
970 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
971 | <DL> |
---|
972 | <DD>Return null if the file doesn't exist; otherwise, get the |
---|
973 | locations of the various chunks of the file file from KFS. |
---|
974 | <P> |
---|
975 | <DD><DL> |
---|
976 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#getFileBlockLocations(org.apache.hadoop.fs.FileStatus, long, long)">getFileBlockLocations</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A></CODE></DL> |
---|
977 | </DD> |
---|
978 | <DD><DL> |
---|
979 | |
---|
980 | <DT><B>Throws:</B> |
---|
981 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
982 | </DD> |
---|
983 | </DL> |
---|
984 | <HR> |
---|
985 | |
---|
986 | <A NAME="copyFromLocalFile(boolean, org.apache.hadoop.fs.Path, org.apache.hadoop.fs.Path)"><!-- --></A><H3> |
---|
987 | copyFromLocalFile</H3> |
---|
988 | <PRE> |
---|
989 | public void <B>copyFromLocalFile</B>(boolean delSrc, |
---|
990 | <A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> src, |
---|
991 | <A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> dst) |
---|
992 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
993 | <DL> |
---|
994 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#copyFromLocalFile(boolean, org.apache.hadoop.fs.Path, org.apache.hadoop.fs.Path)">FileSystem</A></CODE></B></DD> |
---|
995 | <DD>The src file is on the local disk. Add it to FS at |
---|
996 | the given dst name. |
---|
997 | delSrc indicates if the source should be removed |
---|
998 | <P> |
---|
999 | <DD><DL> |
---|
1000 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#copyFromLocalFile(boolean, org.apache.hadoop.fs.Path, org.apache.hadoop.fs.Path)">copyFromLocalFile</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A></CODE></DL> |
---|
1001 | </DD> |
---|
1002 | <DD><DL> |
---|
1003 | |
---|
1004 | <DT><B>Throws:</B> |
---|
1005 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
1006 | </DD> |
---|
1007 | </DL> |
---|
1008 | <HR> |
---|
1009 | |
---|
1010 | <A NAME="copyToLocalFile(boolean, org.apache.hadoop.fs.Path, org.apache.hadoop.fs.Path)"><!-- --></A><H3> |
---|
1011 | copyToLocalFile</H3> |
---|
1012 | <PRE> |
---|
1013 | public void <B>copyToLocalFile</B>(boolean delSrc, |
---|
1014 | <A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> src, |
---|
1015 | <A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> dst) |
---|
1016 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
1017 | <DL> |
---|
1018 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#copyToLocalFile(boolean, org.apache.hadoop.fs.Path, org.apache.hadoop.fs.Path)">FileSystem</A></CODE></B></DD> |
---|
1019 | <DD>The src file is under FS, and the dst is on the local disk. |
---|
1020 | Copy it from FS control to the local dst name. |
---|
1021 | delSrc indicates if the src will be removed or not. |
---|
1022 | <P> |
---|
1023 | <DD><DL> |
---|
1024 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#copyToLocalFile(boolean, org.apache.hadoop.fs.Path, org.apache.hadoop.fs.Path)">copyToLocalFile</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A></CODE></DL> |
---|
1025 | </DD> |
---|
1026 | <DD><DL> |
---|
1027 | |
---|
1028 | <DT><B>Throws:</B> |
---|
1029 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
1030 | </DD> |
---|
1031 | </DL> |
---|
1032 | <HR> |
---|
1033 | |
---|
1034 | <A NAME="startLocalOutput(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.Path)"><!-- --></A><H3> |
---|
1035 | startLocalOutput</H3> |
---|
1036 | <PRE> |
---|
1037 | public <A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> <B>startLocalOutput</B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> fsOutputFile, |
---|
1038 | <A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> tmpLocalFile) |
---|
1039 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
1040 | <DL> |
---|
1041 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#startLocalOutput(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.Path)">FileSystem</A></CODE></B></DD> |
---|
1042 | <DD>Returns a local File that the user can write output to. The caller |
---|
1043 | provides both the eventual FS target name and the local working |
---|
1044 | file. If the FS is local, we write directly into the target. If |
---|
1045 | the FS is remote, we write into the tmp local area. |
---|
1046 | <P> |
---|
1047 | <DD><DL> |
---|
1048 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#startLocalOutput(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.Path)">startLocalOutput</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A></CODE></DL> |
---|
1049 | </DD> |
---|
1050 | <DD><DL> |
---|
1051 | |
---|
1052 | <DT><B>Throws:</B> |
---|
1053 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
1054 | </DD> |
---|
1055 | </DL> |
---|
1056 | <HR> |
---|
1057 | |
---|
1058 | <A NAME="completeLocalOutput(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.Path)"><!-- --></A><H3> |
---|
1059 | completeLocalOutput</H3> |
---|
1060 | <PRE> |
---|
1061 | public void <B>completeLocalOutput</B>(<A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> fsOutputFile, |
---|
1062 | <A HREF="../../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> tmpLocalFile) |
---|
1063 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
1064 | <DL> |
---|
1065 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#completeLocalOutput(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.Path)">FileSystem</A></CODE></B></DD> |
---|
1066 | <DD>Called when we're all done writing to the target. A local FS will |
---|
1067 | do nothing, because we've written to exactly the right place. A remote |
---|
1068 | FS will copy the contents of tmpLocalFile to the correct target at |
---|
1069 | fsOutputFile. |
---|
1070 | <P> |
---|
1071 | <DD><DL> |
---|
1072 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html#completeLocalOutput(org.apache.hadoop.fs.Path, org.apache.hadoop.fs.Path)">completeLocalOutput</A></CODE> in class <CODE><A HREF="../../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs">FileSystem</A></CODE></DL> |
---|
1073 | </DD> |
---|
1074 | <DD><DL> |
---|
1075 | |
---|
1076 | <DT><B>Throws:</B> |
---|
1077 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
1078 | </DD> |
---|
1079 | </DL> |
---|
1080 | <!-- ========= END OF CLASS DATA ========= --> |
---|
1081 | <HR> |
---|
1082 | |
---|
1083 | |
---|
1084 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
1085 | <A NAME="navbar_bottom"><!-- --></A> |
---|
1086 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
1087 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
1088 | <TR> |
---|
1089 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
1090 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
1091 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
1092 | <TR ALIGN="center" VALIGN="top"> |
---|
1093 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
1094 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
1095 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
1096 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/KosmosFileSystem.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
1097 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
1098 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
1099 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
1100 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
1101 | </TR> |
---|
1102 | </TABLE> |
---|
1103 | </TD> |
---|
1104 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
1105 | </EM> |
---|
1106 | </TD> |
---|
1107 | </TR> |
---|
1108 | |
---|
1109 | <TR> |
---|
1110 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
1111 | PREV CLASS |
---|
1112 | NEXT CLASS</FONT></TD> |
---|
1113 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
1114 | <A HREF="../../../../../index.html?org/apache/hadoop/fs/kfs/KosmosFileSystem.html" target="_top"><B>FRAMES</B></A> |
---|
1115 | <A HREF="KosmosFileSystem.html" target="_top"><B>NO FRAMES</B></A> |
---|
1116 | <SCRIPT type="text/javascript"> |
---|
1117 | <!-- |
---|
1118 | if(window==top) { |
---|
1119 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
1120 | } |
---|
1121 | //--> |
---|
1122 | </SCRIPT> |
---|
1123 | <NOSCRIPT> |
---|
1124 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
1125 | </NOSCRIPT> |
---|
1126 | |
---|
1127 | |
---|
1128 | </FONT></TD> |
---|
1129 | </TR> |
---|
1130 | <TR> |
---|
1131 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
1132 | SUMMARY: <A HREF="#nested_classes_inherited_from_class_org.apache.hadoop.fs.FileSystem">NESTED</A> | <A HREF="#fields_inherited_from_class_org.apache.hadoop.fs.FileSystem">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
1133 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
1134 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
1135 | </TR> |
---|
1136 | </TABLE> |
---|
1137 | <A NAME="skip-navbar_bottom"></A> |
---|
1138 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
1139 | |
---|
1140 | <HR> |
---|
1141 | Copyright © 2009 The Apache Software Foundation |
---|
1142 | </BODY> |
---|
1143 | </HTML> |
---|