Adding license header.
Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/ab6e12a0 Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/ab6e12a0 Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/ab6e12a0 Branch: refs/heads/master Commit: ab6e12a0040d80d1d52b81299274d5110fd9be62 Parents: 179bbc3 Author: Aaron McCurry <[email protected]> Authored: Mon Sep 9 14:57:33 2013 -0400 Committer: Aaron McCurry <[email protected]> Committed: Mon Sep 9 15:00:00 2013 -0400 ---------------------------------------------------------------------- blur-gui/src/main/webapp/WEB-INF/web.xml | 17 ++ blur-gui/src/main/webapp/index.html | 18 ++ blur-gui/src/main/webapp/style.css | 16 ++ blur-gui/src/main/webapp/tableList.html | 18 ++ blur-gui/src/main/webapp/test.html | 18 ++ .../blur/mapreduce/lib/CsvBlurDriverTest.java | 16 ++ .../analysis/type/spatial/ShapeReadWriter.java | 16 ++ .../apache/blur/lucene/search/SuperParser.java | 16 ++ .../blur/lucene/search/SuperParserTest.java | 16 ++ .../org/apache/blur/shell/top.properties | 15 ++ .../blur/lucene/warmup/ThrottledIndexInput.java | 240 ++++++++++--------- .../thrift_0_9_0/ProcessFunction.java | 19 +- .../thirdparty/thrift_0_9_0/TBaseProcessor.java | 18 ++ .../thrift_0_9_0/server/Invocation.java | 18 ++ .../thrift_0_9_0/server/TServlet.java | 18 ++ .../resources/org/apache/blur/doc/footer.html | 16 ++ 16 files changed, 382 insertions(+), 113 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/ab6e12a0/blur-gui/src/main/webapp/WEB-INF/web.xml ---------------------------------------------------------------------- diff --git a/blur-gui/src/main/webapp/WEB-INF/web.xml b/blur-gui/src/main/webapp/WEB-INF/web.xml index a35ac56..3d3f3b0 100644 --- a/blur-gui/src/main/webapp/WEB-INF/web.xml +++ b/blur-gui/src/main/webapp/WEB-INF/web.xml @@ -1,5 +1,22 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5"> http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/ab6e12a0/blur-gui/src/main/webapp/index.html ---------------------------------------------------------------------- diff --git a/blur-gui/src/main/webapp/index.html b/blur-gui/src/main/webapp/index.html index 3a08bc6..09dba77 100644 --- a/blur-gui/src/main/webapp/index.html +++ b/blur-gui/src/main/webapp/index.html @@ -1,3 +1,21 @@ +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> <meta HTTP-EQUIV="REFRESH" content="0;url=home.jsp"/> <html> <head> http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/ab6e12a0/blur-gui/src/main/webapp/style.css ---------------------------------------------------------------------- diff --git a/blur-gui/src/main/webapp/style.css b/blur-gui/src/main/webapp/style.css index bfecdf1..f730075 100644 --- a/blur-gui/src/main/webapp/style.css +++ b/blur-gui/src/main/webapp/style.css @@ -1,3 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ body { font-family: sans-serif; font-size: 11px; http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/ab6e12a0/blur-gui/src/main/webapp/tableList.html ---------------------------------------------------------------------- diff --git a/blur-gui/src/main/webapp/tableList.html b/blur-gui/src/main/webapp/tableList.html index 2209e1d..4673fe6 100644 --- a/blur-gui/src/main/webapp/tableList.html +++ b/blur-gui/src/main/webapp/tableList.html @@ -1,4 +1,22 @@ <!DOCTYPE html> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> <html> <head> <title>Blur</title> http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/ab6e12a0/blur-gui/src/main/webapp/test.html ---------------------------------------------------------------------- diff --git a/blur-gui/src/main/webapp/test.html b/blur-gui/src/main/webapp/test.html index 034ba04..89a1162 100644 --- a/blur-gui/src/main/webapp/test.html +++ b/blur-gui/src/main/webapp/test.html @@ -1,4 +1,22 @@ <!DOCTYPE html> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> <html> <head> <meta charset="utf-8"> http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/ab6e12a0/blur-mapred/src/test/java/org/apache/blur/mapreduce/lib/CsvBlurDriverTest.java ---------------------------------------------------------------------- diff --git a/blur-mapred/src/test/java/org/apache/blur/mapreduce/lib/CsvBlurDriverTest.java b/blur-mapred/src/test/java/org/apache/blur/mapreduce/lib/CsvBlurDriverTest.java index c3710f9..ec3239e 100644 --- a/blur-mapred/src/test/java/org/apache/blur/mapreduce/lib/CsvBlurDriverTest.java +++ b/blur-mapred/src/test/java/org/apache/blur/mapreduce/lib/CsvBlurDriverTest.java @@ -1,3 +1,19 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.blur.mapreduce.lib; import static org.junit.Assert.assertEquals; http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/ab6e12a0/blur-query/src/main/java/org/apache/blur/analysis/type/spatial/ShapeReadWriter.java ---------------------------------------------------------------------- diff --git a/blur-query/src/main/java/org/apache/blur/analysis/type/spatial/ShapeReadWriter.java b/blur-query/src/main/java/org/apache/blur/analysis/type/spatial/ShapeReadWriter.java index 68ae050..49a3399 100644 --- a/blur-query/src/main/java/org/apache/blur/analysis/type/spatial/ShapeReadWriter.java +++ b/blur-query/src/main/java/org/apache/blur/analysis/type/spatial/ShapeReadWriter.java @@ -1,3 +1,19 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.blur.analysis.type.spatial; import com.spatial4j.core.context.SpatialContext; http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/ab6e12a0/blur-query/src/main/java/org/apache/blur/lucene/search/SuperParser.java ---------------------------------------------------------------------- diff --git a/blur-query/src/main/java/org/apache/blur/lucene/search/SuperParser.java b/blur-query/src/main/java/org/apache/blur/lucene/search/SuperParser.java index 3081805..1082792 100644 --- a/blur-query/src/main/java/org/apache/blur/lucene/search/SuperParser.java +++ b/blur-query/src/main/java/org/apache/blur/lucene/search/SuperParser.java @@ -1,3 +1,19 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.blur.lucene.search; import java.util.HashMap; http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/ab6e12a0/blur-query/src/test/java/org/apache/blur/lucene/search/SuperParserTest.java ---------------------------------------------------------------------- diff --git a/blur-query/src/test/java/org/apache/blur/lucene/search/SuperParserTest.java b/blur-query/src/test/java/org/apache/blur/lucene/search/SuperParserTest.java index baf5ca8..f6c13f2 100644 --- a/blur-query/src/test/java/org/apache/blur/lucene/search/SuperParserTest.java +++ b/blur-query/src/test/java/org/apache/blur/lucene/search/SuperParserTest.java @@ -1,3 +1,19 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.blur.lucene.search; import static org.apache.blur.lucene.LuceneVersionConstant.LUCENE_VERSION; http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/ab6e12a0/blur-shell/src/main/resources/org/apache/blur/shell/top.properties ---------------------------------------------------------------------- diff --git a/blur-shell/src/main/resources/org/apache/blur/shell/top.properties b/blur-shell/src/main/resources/org/apache/blur/shell/top.properties index 0487cca..4da0d8a 100644 --- a/blur-shell/src/main/resources/org/apache/blur/shell/top.properties +++ b/blur-shell/src/main/resources/org/apache/blur/shell/top.properties @@ -1,3 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + top.columns=SHARD_SERVER,CP,SL,HU,IM,EQ,IQ,RO,RE,WO,WE,CH,CM,CE,CS,TC,IC,SC top.sizes=IM,SL http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/ab6e12a0/blur-store/src/main/java/org/apache/blur/lucene/warmup/ThrottledIndexInput.java ---------------------------------------------------------------------- diff --git a/blur-store/src/main/java/org/apache/blur/lucene/warmup/ThrottledIndexInput.java b/blur-store/src/main/java/org/apache/blur/lucene/warmup/ThrottledIndexInput.java index 5e612a1..7b31b48 100644 --- a/blur-store/src/main/java/org/apache/blur/lucene/warmup/ThrottledIndexInput.java +++ b/blur-store/src/main/java/org/apache/blur/lucene/warmup/ThrottledIndexInput.java @@ -1,3 +1,19 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.blur.lucene.warmup; import java.io.IOException; @@ -18,116 +34,118 @@ import org.apache.lucene.store.IndexInput; */ public class ThrottledIndexInput extends IndexInput { - private static final long SLEEP_DURATION_MS = 50; - - private final IndexInput _rawStream; - private final double _maxBytesPerSec; - private final long _startTime = System.nanoTime(); - - private long _bytesRead = 0; - private long _totalSleepTime = 0; - - public ThrottledIndexInput(IndexInput rawStream, long maxBytesPerSec) { - super(rawStream.toString()); - _rawStream = rawStream; - _maxBytesPerSec = maxBytesPerSec; - } - - /** @inheritDoc */ - @Override - public long getFilePointer() { - return _rawStream.getFilePointer(); - } - - /** @inheritDoc */ - @Override - public void seek(long pos) throws IOException { - _rawStream.seek(pos); - } - - /** @inheritDoc */ - @Override - public long length() { - return _rawStream.length(); - } - - /** @inheritDoc */ - @Override - public byte readByte() throws IOException { - throttle(); - try { - return _rawStream.readByte(); - } finally { - _bytesRead++; - } - } - - /** @inheritDoc */ - @Override - public void readBytes(byte[] b, int offset, int len) throws IOException { - throttle(); - try { - _rawStream.readBytes(b, offset, len); - } finally { - _bytesRead += len; - } - } - - /** @inheritDoc */ - @Override - public void close() throws IOException { - _rawStream.close(); - } - - private void throttle() throws IOException { - while (getBytesPerSec() > _maxBytesPerSec) { - try { - Thread.sleep(SLEEP_DURATION_MS); - _totalSleepTime += SLEEP_DURATION_MS; - } catch (InterruptedException e) { - throw new IOException("Thread aborted", e); - } - } - } - - /** - * Getter for the number of bytes read from this stream, since creation. - * - * @return The number of bytes. - */ - public long getTotalBytesRead() { - return _bytesRead; - } - - /** - * Getter for the read-rate from this stream, since creation. Calculated as - * bytesRead/elapsedTimeSinceStart. - * - * @return Read rate, in bytes/sec. - */ - public double getBytesPerSec() { - double elapsed = (System.nanoTime() - _startTime) / 1000000000; - if (elapsed == 0) { - return _bytesRead; - } else { - return _bytesRead / elapsed; - } - } - - /** - * Getter the total time spent in sleep. - * - * @return Number of milliseconds spent in sleep. - */ - public long getTotalSleepTime() { - return _totalSleepTime; - } - - /** @inheritDoc */ - @Override - public String toString() { - return "ThrottledIndexInput{" + "bytesRead=" + _bytesRead + ", maxBytesPerSec=" + _maxBytesPerSec - + ", bytesPerSec=" + getBytesPerSec() + ", totalSleepTime=" + _totalSleepTime + '}'; - } + private static final long SLEEP_DURATION_MS = 50; + + private final IndexInput _rawStream; + private final double _maxBytesPerSec; + private final long _startTime = System.nanoTime(); + + private long _bytesRead = 0; + private long _totalSleepTime = 0; + + public ThrottledIndexInput(IndexInput rawStream, long maxBytesPerSec) { + super(rawStream.toString()); + _rawStream = rawStream; + _maxBytesPerSec = maxBytesPerSec; + } + + /** @inheritDoc */ + @Override + public long getFilePointer() { + return _rawStream.getFilePointer(); + } + + /** @inheritDoc */ + @Override + public void seek(long pos) throws IOException { + _rawStream.seek(pos); + } + + /** @inheritDoc */ + @Override + public long length() { + return _rawStream.length(); + } + + /** @inheritDoc */ + @Override + public byte readByte() throws IOException { + throttle(); + try { + return _rawStream.readByte(); + } finally { + _bytesRead++; + } + } + + /** @inheritDoc */ + @Override + public void readBytes(byte[] b, int offset, int len) throws IOException { + throttle(); + try { + _rawStream.readBytes(b, offset, len); + } finally { + _bytesRead += len; + } + } + + /** @inheritDoc */ + @Override + public void close() throws IOException { + _rawStream.close(); + } + + private void throttle() throws IOException { + while (getBytesPerSec() > _maxBytesPerSec) { + try { + Thread.sleep(SLEEP_DURATION_MS); + _totalSleepTime += SLEEP_DURATION_MS; + } catch (InterruptedException e) { + throw new IOException("Thread aborted", e); + } + } + } + + /** + * Getter for the number of bytes read from this stream, since creation. + * + * @return The number of bytes. + */ + public long getTotalBytesRead() { + return _bytesRead; + } + + /** + * Getter for the read-rate from this stream, since creation. Calculated as + * bytesRead/elapsedTimeSinceStart. + * + * @return Read rate, in bytes/sec. + */ + public double getBytesPerSec() { + double elapsed = (System.nanoTime() - _startTime) / 1000000000; + if (elapsed == 0) { + return _bytesRead; + } else { + return _bytesRead / elapsed; + } + } + + /** + * Getter the total time spent in sleep. + * + * @return Number of milliseconds spent in sleep. + */ + public long getTotalSleepTime() { + return _totalSleepTime; + } + + /** @inheritDoc */ + @Override + public String toString() { + return "ThrottledIndexInput{" + "bytesRead=" + _bytesRead + + ", maxBytesPerSec=" + _maxBytesPerSec + ", bytesPerSec=" + + getBytesPerSec() + ", totalSleepTime=" + _totalSleepTime + + '}'; + } } \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/ab6e12a0/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/ProcessFunction.java ---------------------------------------------------------------------- diff --git a/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/ProcessFunction.java b/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/ProcessFunction.java index fe0670b..41b9c85 100644 --- a/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/ProcessFunction.java +++ b/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/ProcessFunction.java @@ -1,5 +1,20 @@ -/** - * +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ package org.apache.blur.thirdparty.thrift_0_9_0; http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/ab6e12a0/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/TBaseProcessor.java ---------------------------------------------------------------------- diff --git a/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/TBaseProcessor.java b/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/TBaseProcessor.java index 035643d..f2571bc 100644 --- a/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/TBaseProcessor.java +++ b/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/TBaseProcessor.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.apache.blur.thirdparty.thrift_0_9_0; import java.util.Collections; http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/ab6e12a0/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/server/Invocation.java ---------------------------------------------------------------------- diff --git a/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/server/Invocation.java b/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/server/Invocation.java index ae3271f..9906afc 100644 --- a/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/server/Invocation.java +++ b/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/server/Invocation.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.apache.blur.thirdparty.thrift_0_9_0.server; import org.apache.blur.thirdparty.thrift_0_9_0.server.AbstractNonblockingServer.FrameBuffer; http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/ab6e12a0/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/server/TServlet.java ---------------------------------------------------------------------- diff --git a/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/server/TServlet.java b/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/server/TServlet.java index e7daf58..76ad5e6 100644 --- a/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/server/TServlet.java +++ b/blur-thrift/src/main/java/org/apache/blur/thirdparty/thrift_0_9_0/server/TServlet.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.apache.blur.thirdparty.thrift_0_9_0.server; import java.io.IOException; http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/ab6e12a0/blur-util/src/main/resources/org/apache/blur/doc/footer.html ---------------------------------------------------------------------- diff --git a/blur-util/src/main/resources/org/apache/blur/doc/footer.html b/blur-util/src/main/resources/org/apache/blur/doc/footer.html index 120bbd2..bf6b9f9 100644 --- a/blur-util/src/main/resources/org/apache/blur/doc/footer.html +++ b/blur-util/src/main/resources/org/apache/blur/doc/footer.html @@ -1,3 +1,19 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <script src="resources/js/jquery-2.0.3.min.js"></script> <!-- Include all compiled plugins (below), or include individual files as needed -->
