diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/package.html b/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/package.html
index 947616bf6ea..c21e129770c 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/package.html
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/package.html
@@ -1192,8 +1192,9 @@ Content-Length: 0
GET /<table>/<optional_row_prefix>*?<scan_parameters>
- The current scanner API expects clients to restart scans if there is a REST server failure in the midst. The stateless - does not store any state related to scan operation and all the parameters are specified as query parameters. + The current scanner API expects clients to restart scans if there is a REST server failure in the + midst. The stateless does not store any state related to scan operation and all the parameters + are specified as query parameters.
The following are the scan parameters
@@ -1201,7 +1202,8 @@ Content-Length: 0
Examples
@@ -1244,12 +1250,12 @@ curl -H "Accept: application/json" https://localhost:8080/ExampleScanner/*
-{"Row":[{"key":"dGVzdHJvdzE=","Cell":[{"column":"YTox","timestamp":1389900769772,"$":"dGVzdHZhbHVlLWEx"},
-{"column":"Yjox","timestamp":1389900780536,"$":"dGVzdHZhbHVlLWIx"}]},{"key":"dGVzdHJvdzI=","Cell":[{"column":
-"YTox","timestamp":1389900823877,"$":"dGVzdHZhbHVlLWEy"}{"column":"Yjox",
-"timestamp":1389900818233,"$":"dGVzdHZhbHVlLWIy"}]},{"key":"dGVzdHJvdzM=","Cell":[{"column":"YTox",
-"timestamp":1389900847336,"$":"dGVzdHZhbHVlLWEz"},{"column":"Yjox","timestamp":1389900856845,"$":"dGVzdHZhbHVlLWIz"}]}]}
-
+{"Row":[{"key":"dGVzdHJvdzE=","Cell":[{"column":"YTox","timestamp":1389900769772,
+"$":"dGVzdHZhbHVlLWEx"},{"column":"Yjox","timestamp":1389900780536,"$":"dGVzdHZhbHVlLWIx"}]},
+{"key":"dGVzdHJvdzI=","Cell":[{"column":"YTox","timestamp":1389900823877,"$":"dGVzdHZhbHVlLWEy"}
+{"column":"Yjox","timestamp":1389900818233,"$":"dGVzdHZhbHVlLWIy"}]},{"key":"dGVzdHJvdzM=",
+"Cell":[{"column":"YTox","timestamp":1389900847336,"$":"dGVzdHZhbHVlLWEz"},{"column":"Yjox",
+"timestamp":1389900856845,"$":"dGVzdHZhbHVlLWIz"}]}]}
@@ -1261,13 +1267,14 @@ curl -H "Content-Type: text/xml" https://localhost:8080/ExampleScanner/*
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?><CellSet><Row key="dGVzdHJvdzE=">
-<Cell column="YTox" timestamp="1389900769772">dGVzdHZhbHVlLWEx</Cell><Cell column="Yjox"
-timestamp="1389900780536">dGVzdHZhbHVlLWIx</Cell></Row><Row key="dGVzdHJvdzI="><
-Cell column="YTox" timestamp="1389900823877">dGVzdHZhbHVlLWEy</Cell><Cell column="Yjox"
-timestamp="1389900818233">dGVzdHZhbHVlLWIy</Cell></Row><Row key="dGVzdHJvdzM="><
-Cell column="YTox" timestamp="1389900847336">dGVzdHZhbHVlLWEz</Cell><Cell column="Yjox"
-timestamp="1389900856845">dGVzdHZhbHVlLWIz</Cell></Row></CellSet>
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><CellSet><
+Row key="dGVzdHJvdzE="><Cell column="YTox" timestamp="1389900769772">dGVzdHZhbHVlLWEx<
+/Cell><Cell column="Yjox"timestamp="1389900780536">dGVzdHZhbHVlLWIx</Cell><
+/Row><Row key="dGVzdHJvdzI="><Cell column="YTox" timestamp="1389900823877">
+dGVzdHZhbHVlLWEy</Cell><Cell column="Yjox"timestamp="1389900818233">dGVzdHZhbHVlLWIy<
+/Cell></Row><Row key="dGVzdHJvdzM="><Cell column="YTox" timestamp="1389900847336
+">dGVzdHZhbHVlLWEz</Cell><Cell column="Yjox"timestamp="1389900856845">
+dGVzdHZhbHVlLWIz</Cell></Row></CellSet>
@@ -1294,9 +1301,10 @@ curl -H "Content-Type: text/xml" https://localhost:8080/ExampleScanner/*?limit=1
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?><CellSet><Row key="dGVzdHJvdzE=">
-<Cell column="YTox" timestamp="1389900769772">dGVzdHZhbHVlLWEx</Cell><Cell column="Yjox"
-timestamp="1389900780536">dGVzdHZhbHVlLWIx</Cell></Row></CellSet>
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><CellSet><
+Row key="dGVzdHJvdzE="><Cell column="YTox" timestamp="1389900769772">
+dGVzdHZhbHVlLWEx</Cell><Cell column="Yjox"timestamp="1389900780536">
+dGVzdHZhbHVlLWIx</Cell></Row></CellSet>
@@ -1308,10 +1316,12 @@ curl -H "Content-Type: text/xml" https://localhost:8080/ExampleScanner/*?columns
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?><CellSet><Row key="dGVzdHJvdzE=">
-<Cell column="YTox" timestamp="1389900769772">dGVzdHZhbHVlLWEx</Cell></Row><Row key="dGVzdHJvdzI="><
-Cell column="YTox" timestamp="1389900823877">dGVzdHZhbHVlLWEy</Cell></Row><Row key="dGVzdHJvdzM="><
-Cell column="YTox" timestamp="1389900847336">dGVzdHZhbHVlLWEz</Cell></Row></CellSet>
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><CellSet><
+Row key="dGVzdHJvdzE="><Cell column="YTox" timestamp="1389900769772">dGVzdHZhbHVlLWEx<
+/Cell></Row><Row key="dGVzdHJvdzI="><Cell column="YTox" timestamp=
+"1389900823877">dGVzdHZhbHVlLWEy</Cell></Row><Row key="dGVzdHJvdzM="><
+Cell column="YTox" timestamp="1389900847336">dGVzdHZhbHVlLWEz</Cell><
+/Row></CellSet>
@@ -1323,13 +1333,15 @@ curl -H "Content-Type: text/xml" https://localhost:8080/ExampleScanner/*?columns
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?><CellSet><Row key="dGVzdHJvdzE="><
-Cell column="YTox" timestamp="1389900769772">dGVzdHZhbHVlLWEx</Cell><Cell column="Yjox"
-timestamp="1389900780536">dGVzdHZhbHVlLWIx</Cell></Row><Row key="dGVzdHJvdzI="><
-Cell column="YTox" timestamp="1389900823877">dGVzdHZhbHVlLWEy</Cell><Cell column="Yjox"
-timestamp="1389900818233">dGVzdHZhbHVlLWIy</Cell></Row><Row key="dGVzdHJvdzM="><
-Cell column="YTox" timestamp="1389900847336">dGVzdHZhbHVlLWEz</Cell><Cell column="Yjox"
-timestamp="1389900856845">dGVzdHZhbHVlLWIz</Cell></Row></CellSet>
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><CellSet><
+Row key="dGVzdHJvdzE="><Cell column="YTox" timestamp="1389900769772">
+dGVzdHZhbHVlLWEx</Cell><Cell column="Yjox"timestamp="1389900780536">
+dGVzdHZhbHVlLWIx</Cell></Row><Row key="dGVzdHJvdzI="><
+Cell column="YTox" timestamp="1389900823877">dGVzdHZhbHVlLWEy</Cell><
+Cell column="Yjox"timestamp="1389900818233">dGVzdHZhbHVlLWIy</Cell><
+/Row><Row key="dGVzdHJvdzM="><Cell column="YTox" timestamp="1389900847336">
+dGVzdHZhbHVlLWEz</Cell><Cell column="Yjox"timestamp="1389900856845">
+dGVzdHZhbHVlLWIz</Cell></Row></CellSet>
@@ -1341,10 +1353,11 @@ curl -H "Content-Type: text/xml" https://localhost:8080/ExampleScanner/*?startro
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?><CellSet><Row key="dGVzdHJvdzE="><
-Cell column="YTox" timestamp="1389900769772">dGVzdHZhbHVlLWEx</Cell><Cell column="Yjox"
-timestamp="1389900780536">dGVzdHZhbHVlLWIx</Cell></Row><Row key="dGVzdHJvdzI="><
-Cell column="YTox" timestamp="1389900823877">dGVzdHZhbHVlLWEy</Cell><Cell column="Yjox"
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><CellSet><
+Row key="dGVzdHJvdzE="><Cell column="YTox" timestamp="1389900769772">dGVzdHZhbHVlLWEx<
+/Cell><Cell column="Yjox"timestamp="1389900780536">dGVzdHZhbHVlLWIx</Cell><
+/Row><Row key="dGVzdHJvdzI="><Cell column="YTox" timestamp="1389900823877">
+dGVzdHZhbHVlLWEy</Cell><Cell column="Yjox"
timestamp="1389900818233">dGVzdHZhbHVlLWIy</Cell></Row></CellSet>
@@ -1357,9 +1370,10 @@ curl -H "Content-Type: text/xml" https://localhost:8080/ExampleScanner/*?startti
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?><CellSet><Row key="dGVzdHJvdzE="><
-Cell column="YTox" timestamp="1389900769772">dGVzdHZhbHVlLWEx</Cell><Cell column="Yjox"
-timestamp="1389900780536">dGVzdHZhbHVlLWIx</Cell></Row></CellSet>
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><CellSet><
+Row key="dGVzdHJvdzE="><Cell column="YTox" timestamp="1389900769772">dGVzdHZhbHVlLWEx<
+/Cell><Cell column="Yjox"timestamp="1389900780536">dGVzdHZhbHVlLWIx</Cell><
+/Row></CellSet>
@@ -1371,13 +1385,15 @@ curl -H "Content-Type: text/xml" https://localhost:8080/ExampleScanner/test*
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?><CellSet><Row key="dGVzdHJvdzE=">
-<Cell column="YTox" timestamp="1389900769772">dGVzdHZhbHVlLWEx</Cell><Cell column="Yjox"
-timestamp="1389900780536">dGVzdHZhbHVlLWIx</Cell></Row><Row key="dGVzdHJvdzI="><
-Cell column="YTox" timestamp="1389900823877">dGVzdHZhbHVlLWEy</Cell><Cell column="Yjox"
-timestamp="1389900818233">dGVzdHZhbHVlLWIy</Cell></Row><Row key="dGVzdHJvdzM="><
-Cell column="YTox" timestamp="1389900847336">dGVzdHZhbHVlLWEz</Cell><Cell column="Yjox"
-timestamp="1389900856845">dGVzdHZhbHVlLWIz</Cell></Row></CellSet>
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><CellSet><
+Row key="dGVzdHJvdzE="><Cell column="YTox" timestamp="1389900769772">dGVzdHZhbHVlLWEx<
+/Cell><Cell column="Yjox"timestamp="1389900780536">dGVzdHZhbHVlLWIx</Cell><
+/Row><Row key="dGVzdHJvdzI="><Cell column="YTox" timestamp="1389900823877">
+dGVzdHZhbHVlLWEy</Cell><Cell column="Yjox"timestamp="1389900818233">
+dGVzdHZhbHVlLWIy</Cell></Row><Row key="dGVzdHJvdzM="><
+Cell column="YTox" timestamp="1389900847336">dGVzdHZhbHVlLWEz</Cell><
+Cell column="Yjox"timestamp="1389900856845">dGVzdHZhbHVlLWIz</Cell><
+/Row></CellSet>