https://jeong-pro.tistory.com/186 @Scheduled 사용법, 스케줄러 커스터마이징을 통한 제어(+스케줄러에 등록한 작업 중지하는 방법, @Scheduled 사용법 주기적인 작업이 있을 때 @Scheduled 애노테이션을 사용하면 쉽게 적용할 수 있다. ex) linux의 crontab 1. @EnableScheduling Annotation을 적어서 스케줄링을 사용한다는 것을 알린다. @Enab.. jeong-pro.tistory.com
https://d2.naver.com/helloworld/106824 https://supawer0728.github.io/2018/03/11/hazelcast/ Hazelcast 공유 In-Memory Data GridIn-Memory Data Grid(IMDG)에 관해서http://d2.naver.com/helloworld/106824 요약 분산 저장(scale out) 메모리를 사용한다 보통 객체를 저장한다(serialize) Lock, Transaction, Sharding을 지원한다 supawer0728.github.io https://pkgonan.github.io/2018/10/hazelcast-hibernate-second-level-cache Local Cache 와 Invalidatio..
https://velog.io/@hotdari90/Async-Sync-Blocking-Non-Blocking Async & Sync, Blocking & Non-Blocking RxJS 스트림에 대해서 공부하기전에 동기와 비동기, 블록과 논블록에 대해서 알아두고 가야했다. Acync & Sync 호출되는 함수의 작업 완료 여부를 신경쓰느냐 마느냐가 관점이다. Blocking & Non-Blocing velog.io https://baek-kim-dev.site/38 [카카오 면접] Blocking I/O, Syncronous Non-Blocking I/O, Asyncronous Non-Blocking I/O 카카오 면접을 준비하면서, 공부했던 내용을 정리해놓고 다시 기억하기 위한 포스팅 다른 관심사 Bl..
https://bcho.tistory.com/1247 Circuit breaker 패턴을 이용한 장애에 강한 MSA 서비스 구현하기 #1 - Circuit breaker와 넷플릭스 Hystrix Circuit breaker 패턴을 이용한 장애에 강한 MSA 서비스 구현하기 #1 Circuit breaker와 넷플릭스 Hystrix 조대협 (http://bcho.tistory.com) MSA에서 서비스간 장애 전파 마이크로 서비스 아키텍쳐 패턴은 시스템.. bcho.tistory.com https://github.com/Netflix/Hystrix GitHub - Netflix/Hystrix: Hystrix is a latency and fault tolerance library designed to is..
List intList = Arrays.asList(2, 3, 6, 4, 23, 10); Integer maxValue = intList.stream() .max(Comparator.comparing(x -> x)) .orElse(0); Integer minValue = intList.stream() .min(Comparator.comparing(x -> x)) .orElse(0); https://blog.advenoh.pe.kr/java/%EC%9E%90%EB%B0%948-%EC%8A%A4%ED%8A%B8%EB%A6%BC-%EC%82%AC%EC%9A%A9%ED%95%B4%EC%84%9C-max%EA%B0%92-%EC%B6%94%EC%B6%9C%ED%95%98%EA%B8%B0/ 자바8 스트림 사용해서 m..
import java.lang.ref.SoftReference; import java.lang.ref.WeakReference; import java.util.LinkedList; import java.util.List; public class Main { private static class BigData { private int[] array = new int[2500]; //10000byte, 10K } private static class ReferenceTest { private List weakRefs = new LinkedList(); private List softRefs = new LinkedList(); private List strongRefs = new LinkedList(); pu..
https://somjang.tistory.com/entry/MAC-%EB%A7%A5%EB%B6%81-%ED%84%B0%EB%AF%B8%EB%84%90%EC%97%90%EC%84%9C-wget-%EC%84%A4%EC%B9%98%ED%95%98%EC%97%AC-%EC%82%AC%EC%9A%A9%ED%95%98%EB%8A%94-%EB%B0%A9%EB%B2%95-feat-HomeBrew [MAC] 맥북 터미널에서 wget 설치하여 사용하는 방법! ( feat. HomeBrew) Ubuntu에서 wget을 활용하여 파일 다운로드를 잘 받고 있다가 맥북의 터미널에서 wget을 활용하여 파일 다운로드를 받으려고 하니 -bash: wget: command not found 위와 같이 wget 명령어가 없다는 내용만 ..
- Thread-safe - Null - Enumeration - 보조 해시 사용 여부 - 지속 개선 https://shlee0882.tistory.com/44 fail-fast 방식 개념 Iterator를 학습하는 도중 Enumeration과 Iterator를 비교하는 글을 보게 되어 정리하게 되었다. 1. Enumeration이란? Enumeration은 객체들의 집합(Vector)에서 각각의 객체들을 한순간에 하나씩 처리할 수 있는. shlee0882.tistory.com https://devlog-wjdrbs96.tistory.com/m/253 [Java] HashMap vs Hashtable 차이는 무엇일까? Hashtable 이란? Hashtable 클래스는 컬렉션 프레임웍이 만들어지기 이전부..
curl -O https://archive.apache.org/dist/spark/spark-3.2.0/spark-3.2.0-bin-hadoop3.2.tgz tar -xf spark-3.2.0-bin-hadoop3.2.tgz https://archive.apache.org/dist/spark/spark-3.2.0/ Index of /dist/spark/spark-3.2.0 archive.apache.org ./bin/spark-shell WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.apache.spark.unsafe.Platform (file:/Users/seungg..
import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; public class Solution { static Map map = new HashMap(); public int[] solution(String[] info, String[] query) { int[] answer = new int[query.length]; for (int i = 0; i < info.length; i++) { String[] arr = info[i].split(" "); dfs(arr.length - 1, "", 0, arr); } for (Strin..
https://www.linkedin.com/pulse/read-write-operations-hbase-prateek-kumar/ Read and Write Operations in HBase HBase is the open source implementation of Google’s Big Table, with slight modifications. HBase was created in 2007 and was initially a part of contributions to Hadoop which later became a top level Apache project. www.linkedin.com https://mrsence.tistory.com/36 HBase 소개 # HBase ---------..
import java.util.PriorityQueue; public class Solution { public int solution(int[] scoville, int K) { PriorityQueue queue = new PriorityQueue(); for (int i : scoville) { queue.add(i); } int answer = 0; while (true) { if (queue.peek() >= K) { return answer; } if (queue.size() < 2) { break; } int a = queue.poll(); int b = queue.poll(); queue.add(a + b * 2); answer++; } return -1; } } https://coding..
private boolean check(String s, int left, int right) { while (left = right) { return true; } return false; } https://leetcode.com/problems/valid-palindrome-ii/submissions/ Valid Palindrome II - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com
Arrays.stream(arr) .boxed() .max(Comparator.comparing(i -> i)) .orElse(0); https://blog.advenoh.pe.kr/java/%EC%9E%90%EB%B0%948-%EC%8A%A4%ED%8A%B8%EB%A6%BC-%EC%82%AC%EC%9A%A9%ED%95%B4%EC%84%9C-max%EA%B0%92-%EC%B6%94%EC%B6%9C%ED%95%98%EA%B8%B0/ 자바8 스트림 사용해서 max, min 값 찾기 1. 들어가며 자바8의 스트림 API를 사용해서 List나 배열에서 max, min 값을 찾는 방법에 대해서 알아보자. 2. 스트림을 사용하여 max 값 찾기 2.1 숫자 List에서 Max 값 찾기 : 숫자 List에서 max…..
https://jaemunbro.medium.com/apache-spark-partition-pruning%EA%B3%BC-predicate-pushdown-bd3948dcb1b6 [Apache Spark] Partition Pruning과 Predicate Pushdown Spark에서 read성능을 올려주는 주요한 기능들인 Partition Pruning과 Predicate Pushdown에 대해서 간단히 정리해보자. jaemunbro.medium.com
### Row Oriented 하나의 Row 데이터를 추가/삭제할때 하나의 페이지만 사용하기에 좋다. 하나의 Row의 대부분의 컬럼을 읽어야 하거나 변경하는 경우 하나의 Read/Write로 가능하다. 모든 Row를 읽는 경우 불필요한 Column값을 다 읽어야 한다. Page의 사용하지 않는 공간까지 읽어야 한다. ### Column Oriented 다수의 컬럼을 조회하는 상황이라면 쓸모가 없어보인다. 오히려 결과를 합치는 작업 비용이 더 커져서 느릴 경우가 발생할 거 같다. Row형으로 저장하는 대신 Column으로 저장하는 방식이다. 모든 Column들은 개별적으로 다뤄지며 Column별로 연속적으로 저장된다. Column별로 데이터가 저장되기때문에 압축에도 높은 효율을 얻을 수 있다. https:..
http://beginnershadoop.com/2019/09/27/spark-jobs-stages-tasks/ Spark Jobs, Stages, Tasks Every distributed computation is divided in small parts called jobs, stages and tasks. It’s useful to know them especially during monitoring because it helps to detect bottlenecks. Job -… beginnershadoop.com job: action stage: each shuffle map & result type task https://eyeballs.tistory.com/206 [Spark] 기술 질문..
--name {appName} conf.set("spark.app.name", appName) https://stackoverflow.com/questions/36747268/why-does-conf-setspark-app-name-appname-not-set-the-name-in-the-ui/42883306 Why does conf.set("spark.app.name", appName) not set the name in the UI? I am calling val appName : String = arguments.getNameFromConfig val conf = new SparkConf() conf.set("spark.driver.maxResultSize", "30G") conf.set("spar..
https://wonyoung2.tistory.com/678 HashMap 전체 참조(foreach) 방법 (Java) HashMap 에 포함된 Key, Value 값을 모두 확인하는 방법 # 데이터 생성 HashMap map = new HashMap (); map.put("key1", "value1"); map.put("key2", "value2"); map.put("key3", "value3"); # 방법 1 Iterator ke.. wonyoung2.tistory.com
ORC(Optimized Row Columnar) 컬럼단위로 데이터 기록 인덱스를 기록하여 컬럼에 바로 접근 JSON 중첩구조, 리스트, 맵 복합 형태 ### 특징 - 결과가 하나의 파일, 네임노드의 부하를 줄여줌 - datetime, decimal, complex type (struct, list, map, union) 지원 - 파일 경량 인덱스가 저장 - 데이터 타입 기반의 block-mode 압축 - 하나의 파일을 여러개의 리더로 동시에 읽기 가능 - 마커 스캐닝 없이 파일 분할 가능 - 파일 읽기 쓰기에 일정한 메모리 용량만 필요 - 필드의 추가나 제거가 가능한 메타 데이터는 Protocol Buffers 를 사용해서 저장 https://118k.tistory.com/408 [hive] ORC 파..
if you are using any binary format (ORC, AVRO, Parquet) to store you data then ROW FORMAT DELIMITED FIELDS TERMINATED BY is just ignored, you can use it in your table syntax, it might not give you any error. However they are not being used https://stackoverflow.com/questions/53871596/is-defining-a-delimiter-in-a-hive-orc-table-useless Is defining a delimiter in a hive ORC Table useless? When you..
하드디스크 용량이 없는 경우에 발생할 수 있으니 연결된 세션이 있다면 하드디스크 용량을 확인하고 없다면 충분히 확보한 뒤에 시도해본다. https://devday.tistory.com/2382 Couldn't authenticate to server: Bad sendauth version was sent 커버로스 (Kerberos)로 rlogin 시에 다음과 같은 에러에 직면할 수 있다. Couldn't authenticate to server: Bad sendauth version was sent 하드디스크 용량이 없는 경우에 발생할 수 있으니 연결된 세션이 있다.. devday.tistory.com
- Total
- Today
- Yesterday
- 책그림
- 테슬라 레퍼럴 코드 확인
- 클루지
- follower
- COUNT
- 인스타그램
- 할인
- 모델 Y 레퍼럴
- 모델y
- 테슬라 추천
- 레퍼럴
- 테슬라 리퍼럴 코드 혜택
- 메디파크 내과 전문의 의학박사 김영수
- 연애학개론
- 팔로워 수 세기
- 테슬라 레퍼럴
- 김달
- 유투브
- 테슬라 레퍼럴 적용 확인
- 어떻게 능력을 보여줄 것인가?
- 테슬라 리퍼럴 코드
- 테슬라
- Kluge
- wlw
- Bot
- 테슬라 크레딧 사용
- 테슬라 리퍼럴 코드 생성
- 개리마커스
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |