오픈소스에 add class 후 빌드 에러 발생 (Too many files with unapproved license)

ITWeb/개발일반 2015. 2. 17. 12:01

[에러]

[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project ambari-server: Too many files with unapproved license: 1 See RAT report in: /Users/hwjeong/git/ambari/ambari-server/target/rat.txt -> [Help 1]


이 에러는 뭐 오픈소스 사용하면서 class header 에 ASF 라이센스 정보를 작성 하지 않아서 발생하는 것입니다.

그러니 넣어 주시면 에러가 없어 집니다.


[헤더 라이선스 내용]

/**
* 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.
*/


:

install locate on centos 6

ITWeb/서버관리 2015. 2. 6. 13:14

[yum 설치]

$ yum install mlocate


[db update]

$ sudo updatedb


[usage]

$ locate gangliaEnv.sh | xargs ls -al


끝.

:

[Eclipse] Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:build ....

ITWeb/개발일반 2015. 1. 29. 16:28

보통 eclipse 에서 maven 프로젝트 사용 시 이런 에러가 발생 할 경우 해결 방법.


[에러]

Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:build .... 


[해결방법]

  <pluginManagement>

    <plugins>

        <plugin>

            <groupId>org.eclipse.m2e</groupId>

            <artifactId>lifecycle-mapping</artifactId>

            <version>1.0.0</version>

            <configuration>

                <lifecycleMappingMetadata>

                    <pluginExecutions>

                        <pluginExecution>

                            <pluginExecutionFilter>

                                <groupId>org.codehaus.mojo</groupId>

                                <artifactId>build-helper-maven-plugin</artifactId>

                                <versionRange>[0.0.1,)</versionRange>

                                <goals>

                                    <goal>regex-property</goal>

                                </goals>

                            </pluginExecutionFilter>

                            <action>

                                <ignore />

                            </action>

                        </pluginExecution>

                   </pluginExecutions>

                </lifecycleMappingMetadata>

            </configuration>

        </plugin>

    </plugins>

  </pluginManagement>


※ <build> 태그 아래 위 code를 추가해 주면 됩니다.


여기서 수정하셔야 하는 부분은 

<groupId>org.codehaus.mojo</groupId>

- <artifactId>build-helper-maven-plugin</artifactId>

- <goal>regex-property</goal>

내용에 맞게 수정해서 추가해 주시면 됩니다.

:

[캠코더] 소니 HDR-CX900 매뉴얼.

Legacy 2015. 1. 21. 12:24


FDRAX100_CX900_HG_EN.pdf


소니 HDR-CX900 매뉴얼.

:

[Kibana] structured aggregation query...

Elastic/Elasticsearch 2015. 1. 19. 12:53

한줄 정리)

- sub aggregation 과 같은 복잡한 분석 질의는 3.x에서 지원 되지 않으며, 4.x에서 지원 된다.


kibana를 많이 사용하시는 분들은 잘 아실 것 같습니다.

kibana 3.x 까지는 sub aggregation과 같은 좀 복잡한 aggregation 을 사용할 수 없었습니다.

저도 3.x를 가지고 구성을 하려다 보니 막혀 버리더라구요.

그래서 복잡한 aggregation 질의를 사용하고자 한다면 kibana 4.x 로 올려서 사용하시면 될 것 같습니다.

아직은 베타 버전이긴 하지만 조만간 베타 딱지 떼지 않을까 싶내요.


아래는 kibana 3.x에서 제공하고 있는 aggregation 종류 입니다.



여기 보여 지는걸 저도 다 사용은 안해봤구요.

가장 많이 사용하는게 아마도

- column

- histogram

- stats

- terms

정도가 아닐까 합니다. (아닐 수도 있구요. ^^;)


여기서 테스트 하던 것 중 trends panel type은 더 이상 사용되지 않는 것 같습니다.

4.x 에서는 아예 빠졌으니까요.

: