Welcome to AceT's Blog(864)
-
spark rdd programining
https://spark.apache.org/docs/latest/rdd-programming-guide.htmlspark rddOverviewAt a high level, every Spark application consists of a driver program that runs the user’s main function and executes various parallel operations on a cluster. The main abstraction Spark provides is a resilient distributed dataset (RDD), which is a collection of elements partitioned across the nodes of the cluster th..
2018.12.30 -
[mysql] select 한것 update하기
Mysql에서~ SELECT 를 하여 원하는 테이블의 필드에 데이터를 채우고자 했다.같은 테이블일 경우UPDATE 테이블명SET 데이터 들어갈 필드 = 데이터있는필드WHERE 조건문 블라블라 다른 테이블일 경우UDATE 테이블1, 테이블2SET 테이블1.필드 = 테이블2.필드WHERE 조건문 블라블라 작업전엔~SELECT로 확인 후 작업이 센스~
2018.11.23 -
mysql Lock wait timeout exceeded; try restarting transaction: Timeout on record in index:
error Lock wait timeout exceeded; try restarting transaction: Timeout on record in index: solutionshow processlist;kill ; 참고 사이트 : https://stackoverflow.com/questions/5836623/getting-lock-wait-timeout-exceeded-try-restarting-transaction-even-though-im
2018.10.30 -
Spring Boot + Spring Batch 분석_02
2018/10/12 - [OpenSource/Spring Batch] - Spring Boot + Spring Batch 분석_01 저번 분석에서는 Job에 대해서 알아보았습니다. 이제 Step에 대해 알아보도록 하겠습니다.설명하고 있는 소스는 https://spring.io/guides/gs/batch-processing/ 를 참고!// tag::jobstep[] @Bean public Job importUserJob(JobCompletionNotificationListener listener, Step step1) { return jobBuilderFactory.get("importUserJob") .incrementer(new RunIdIncrementer()) .listener(listener) ..
2018.10.23 -
Error: ✗ Could not create /var/lib/grafana/plugins/grafana-piechart-panel/.gitignore. Permission denied. Make sure you have write access to plugindir
ansible + grafana환경에서 아래와 같은 오류가 발생하였다.Error: ✗ Could not create /var/lib/grafana/plugins/grafana-piechart-panel/.gitignore. Permission denied. Make sure you have write access to plugindir NAME: Grafana cli plugins install - install USAGE: Grafana cli plugins install [arguments...] 첫번째 해결책으로 아래와 같이 user: root를 통해 해결하였다.- name: run grafana docker_container: name: grafana user: root ..... 하지만 user..
2018.10.23 -
ansible error - may be elsewhere in the file depending on the exact syntax problem.
may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: Create a data volume ^ here위의 오류는 ansible 버전이 낮아서 나는 오류이다.ansible은 버전이 2.7이상이어야 docker_volume을 사용할 수가 있다.참고 사이트 : https://docs.ansible.com/ansible/latest/modules/docker_volume_module.html?highlight=docker_volume
2018.10.23