๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

๊ฐœ๋ฐœ์ƒํ™œ/์ด์Šˆ ๋ฐœ์ƒ3

google cloudresourcemanager, guava ๋ฒ„์ „ ์ถฉ๋Œ ์ด์Šˆ ์ฒ˜๋ฆฌ - NoSuchMethodError directExecutor ๋„๋ฉ”์ธ ์„ฑ๊ฒฉ์— ๋งž์ง€ ์•Š๋Š” ์ฝ”๋“œ๋ฅผ ๋‹ค๋ฅธ๋ฐ๋กœ ์˜ฎ๊ธฐ๋Š” ์ž‘์—…์„ ์ง„ํ–‰ํ–ˆ๋‹ค. ๊ตฌ๊ธ€ ํ”„๋กœ์ ํŠธ๋“ค์„ ๊ฐ€์ ธ์™€์„œ ์ธ์ฆ์„ ๋ฐ›์•„ credential์„ ์ƒ์„ฑ ํ›„ api๋ฅผ ํ˜ธ์ถœํ•˜๋Š” ๋ฐฉ์‹์ธ๋ฐ ํ”„๋กœ์ ํŠธ ์ •๋ณด๋ฅผ ๊ฐ€์ ธ์˜ค๋Š”๋ฐ ํ•ด๋‹น dependency๋ฅผ ์‚ฌ์šฉํ–ˆ๊ณ  com.google.apis google-api-services-cloudresourcemanager v1-rev497-1.23.0 ์ธ์ฆ์„ ๋ฐ›๊ธฐ์œ„ํ•ด oauth2 dependency๋ฅผ ์‚ฌ์šฉํ–ˆ๋‹ค. com.google.auth google-auth-library-oauth2-http 1.7.0 ๊ธฐ์กด์—๋Š” ์‚ฌ์‹ค ๋‹ค๋ฅธ ๋ฆฌ์†Œ์Šค dependeny์— ๋‚ด์žฅ๋˜์–ด์žˆ๋˜ oauth2๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ์—ˆ๊ณ  ๋ฒ„์ „์„ ๋งž์ถฐ์„œ ์ข€ ๋‚ฎ๊ธดํ•˜์ง€๋งŒ ์ผ๋‹จ ์ •์ƒ์ ์œผ๋กœ ์ฝ”๋“œ๊ฐ€ ๋™์ž‘ํ•˜๋Š”๊ฒŒ ๋ชฉ์ ์ด์—ˆ์œผ๋‹ˆ 1.7.0์œผ๋กœ ๋˜‘๊ฐ™์ด ๊ฐ€์ ธ์™”๋‹ค. .. 2023. 4. 27.
Select ์ฟผ๋ฆฌ ์‹คํ–‰ ์ค‘ Apparent connection leak detected Batch ๋™์ž‘ ์ค‘ Select ์ฟผ๋ฆฌ ์‹คํ–‰ํ•˜๋ฉด์„œ ๊ฐ„ํ—์ ์œผ๋กœ Leak์ด ๋‚œ๋‹ค. -> java.lang.Exception: Apparent connection leak detected ๋ฌธ์ œ๊ฐ€ ๋˜๋Š” ์ฟผ๋ฆฌ๋ฅผ ๋ฌธ์ œ๊ฐ€ ๋˜๋Š” ์กฐ๊ฑด๊ณผ ๋™์ผํ•˜๊ฒŒ Database Tool๋กœ ๋Œ๋ ค๋ณด์•˜๋‹ค. ์ฟผ๋ฆฌ ์ž์ฒด๋Š” ์‹คํ–‰์ด ๋˜๋Š”๋ฐ Output์— ๊ฒฝ๊ณ ๊ฐ€ ๋œฌ๋‹ค. -> Memory capacity of 8388608 bytes for 'range_optimizer_max_mem_size' exceeded. Range optimization was not done for this query. ๋ฌธ์ œ๋Š” IN์ ˆ์— ๋„˜๊ธด ํŒŒ๋žŒ ๊ฐœ์ˆ˜.. IN์ ˆ์˜ ๊ฐœ์ˆ˜๊ฐ€ ๋„ˆ๋ฌด ๋งŽ์€ ๊ฒฝ์šฐ, Where ์กฐ๊ฑด ๋ฒ”์œ„๊ฐ€ DB์— ์ œํ•œ๋œ ๋ฉ”๋ชจ๋ฆฌ 8388608 Bytes๋ฅผ ์ดˆ๊ณผํ•œ๋‹ค. ์ด๋Ÿฐ .. 2022. 12. 1.
A fatal error has been detected by the Java Runtime Environment. Docker Alphine Image Crashed Exception ์ด์Šˆ ํŠน์ • ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ์˜ ์•ŒํŒŒ์ธ ์ด๋ฏธ์ง€ ๋ฏธ์ง€์› ์ด์Šˆ๋กœ ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜์ด ๋œจ์ž๋งˆ๋‹ค ๋ป—์–ด๋ฒ„๋ฆผ ์›์ธ google api๋ฅผ ์‚ฌ์šฉํ•ด์•ผํ–ˆ๊ณ , ๋ฒ„์ „ ๊ด€๋ฆฌ๋ฅผ ์ˆ˜์›”ํ•˜๊ฒŒ ํ•˜๋ ค๊ณ  bom์„ ์ถ”๊ฐ€ํ–ˆ๋Š”๋ฐ ์—ฌ๊ธฐ์•ˆ์— ์žˆ๋Š” Library์ค‘์˜ ์ผ๋ถ€๊ฐ€ Alphine ์ด๋ฏธ์ง€๋ฅผ ์ง€์›ํ•˜์ง€ ์•Š์•„์„œ ๋ฐœ์ƒํ•˜๋Š” ์ด์Šˆ com.google.cloud libraries-bom 25.3.0 pom import ๋กœ์ปฌ์—์„œ๋Š” ๋ฐœ์ƒํ•˜์ง€ ์•Š์œผ๋ฉฐ, Docker๋กœ ์˜ฌ๋ฆฐ ๊ฐœ๋ฐœ ECS ์ปจํ…Œ์ด๋„ˆ์—์„œ๋งŒ ๋ฐœ์ƒํ–ˆ๋‹ค. ํ•ด๊ฒฐ ๋ฐฉ๋ฒ• ๊ฐ€์žฅ ๊ฐ„๋‹จํ•˜๊ฒŒ๋Š” ๊ฑ ์ด๋ฏธ์ง€ ๊ต์ฒด ์•ŒํŒŒ์ธ์ด ๊ฐ€๋ฒผ์›Œ์„œ ์ผ๋‹ค์ง€๋งŒ ์•ˆ๋œ๋‹ค๊ธฐ์— ๋‹ค๋ฅธ slimํ•œ ์ด๋ฏธ์ง€๋กœ ๊ต์ฒด -> ๋„์ปคํŒŒ์ผ ๋‚ด image ์ถ”๊ฐ€ ๋ฐ wget์ด ์•ˆ๋œ๋‹ค๊ธฐ์— ํ•ด๋‹น ๋ช…๋ น์–ด๋„ ์ถ”๊ฐ€ (as-is image : amazoncorretto:8-alpine-jre) .... 2022. 7. 25.