inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

묻고 답해요

174만명의 커뮤니티!! 함께 토론해봐요.

Brute-Force 관련 질문

미해결

코테 출제자가 알려주는 [코딩 테스트 with 파이썬]

선생님. 많은 Brute-Force 문제에 대한 답으로 사람들이 BFS/DFS를 많이 사용하고 있습니다. 강의에서는 BFS/DFS에 대한 내용은 따로 없는데, 이는 수열과 Combination으로 코딩 테스트 수준의 모든 Brute-Force 문제를 풀 수 있다는 뜻이 될까요, 아니면 강의로는 Brute Force와 수열, Combination 등 기본적인 부분을 이해하고, 그 외는 추가적인 공부가 필요한 걸까요? 감사합니다.

  • python
  • 코테 준비 같이 해요!
Doom Doombi 댓글 1 좋아요 2 조회수 372

쿠버네티스배포데모" 코드 제공 (재)문의

미해결

초보를 위한 쿠버네티스 안내서

강사님 안녕하세요. 쿠버네티스배포데모 소스코드는 제공에 대해 한 번 문의 드렸는데요 바쁘신 것은 충분히 예상됩니다만 한 번더 문의 드립니다. "쿠버네티스알아보기>쿠버네티스배포" 데모에서 시연해주신 환경에 대한 질문입니다. EKS에 2개의 노드를 만들고 helm으로 어플리케이션을 배포하셨는데요, EKS 환경을 만들고, helm으로 application을 배포하는 것에 대한 자료를 받을 수 있을지 지난 8월경 문의 드린 적이 있고, 공유계획이 있으시다고 하셨는데, 공유 예상 대략의 일정을 알 수 있을까요? AWS EKS 환경을 만들고 서비스 배포까지 일련의 전체 과정을 볼 수 있을 것 같아 업무에 적용하는데 도움이 많이 될 것으로 생각됩니다. 추가로, 쿠버네티스배포데모에서 그라파나와 로키에 대해서 보여주셨고, 쿠버네티스 모니터링 설정에 대한 내용도 공유할 계획이 있다고 다른 수강자분의 문의에 답변을 주셨었는데요, 이것에 대한 대략의 공유 일정이 있다면 같이 알고 싶습니다. 감사합니다.

  • k8s
  • eks
  • docker
  • kubernetes
  • helm
  • grafana
쏭쏭 댓글 1 좋아요 1 조회수 464

동시성 문제

미해결

자바 ORM 표준 JPA 프로그래밍 - 기본편

entitymanger를 proxy기술로 실제 호출시 실제 객체를 매핑한다는 것은 이해하였습니다. 여기서 thread safe하다는 것은 제가 이해하기로는 "thread간에 entitymanger를 공유하지 않아 영속성 컨텍스트가 다른 thread에 의해 침범될 일이 없다" 입니다. 하지만 이해가 되지 않는 부분은 동시성 문제를 해결할 수 있다는 부분입니다. 동시성 문제를 해결한다는게 race condition 문제를 해결할 수 있다는 말일까요?

  • JPA
  • java
김현석 댓글 1 좋아요 0 조회수 334

ERR_CONNECTION_TIMED_OUT 에러 발생

미해결

15일간의 빅데이터 파일럿 프로젝트

안녕하세요. 책을 구매하고 공부하던 도중에 이 부분에서 문제가 발생하여 해결이 안되서 찾아보던중에 강의가 있어서 구매하여 이부분을 확인하였는데 결국 해결이 되지 않더라고요. 다른 질문들을 확인 했을 때 제 컴퓨터의 문제가 있을 수도 있을 것 같아 ERR_CONNECTION_TIMED_OUT을 해결하는 것을 다 찾아서 해봤지만 결국 해결이 되지 않았습니다. virtualbox는 5.0 버전은 서버 자체가 실행이 되지 않아서 윗버전 6.1 을 재설치 해서 진행을 해봤으나 같은 이유로 해결이 되지 않아서, 최신버전 7.0버전을 설치해서 진행하였으나 또한 해결이 되지 않았습니다. 제가 따로 공부하고 있는 Ambari sandbox 는 접속이 되던데 이해가 되질 않습니다. 몇일을 이거 때문에 고생을 하고 있네요.

  • bigdata
  • Hadoop
  • Impala
  • 데이터 엔지니어링
  • Kafka
  • redis
  • ZooKeeper
  • Flume
김태수 댓글 1 좋아요 0 조회수 1304

AWS DataSync vs. AWS Storage Gateway 오류건

해결됨

AWS Certified Cloud Practitioner 자격증 준비하기

안녕하세요, 강의 잘 듣고 있습니다 . 다만 AWS DataSync 부분에서 (PPT 147p) AWS DataSync vs. AWS Storage Gateway에서 AWS Storage Gateway 가 초기 데이터를 마이그레이션 하는것이고 DataSync가 초기 마이그레이션 이후 AWS Storage Gateway 의 파일 게이트웨이 구성을 사용하여 마이그레이션 하는것이 아닌지 여쭤봅니다 . 결론적으로 두 부분이 바뀐 것 같습니다 . 한번 확인해보시고 답변 주시면 감사하겠습니다 .

  • aws
  • network
유형준 댓글 1 좋아요 0 조회수 584

중복회원test 오류

해결됨

스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술

회원가입은 test가 잘되는데 중복회원은 안됩니다. jpa를 사용할때랑 jpa spring data를 사용할때 모두 동일하게 안됩니다. 아래는 오류내용 입니다. 2022-11-21 15:19:22.750 INFO 42553 --- [ main] h.m.s.MemberServiceIntegrationTest : Started MemberServiceIntegrationTest in 3.745 seconds (JVM running for 4.636) 2022-11-21 15:19:22.784 INFO 42553 --- [ main] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@e84a8e1 testClass = MemberServiceIntegrationTest, testInstance = hello.merona.service.MemberServiceIntegrationTest@575e862c, testMethod = 중복_회원_예외@MemberServiceIntegrationTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@2e554a3b testClass = MemberServiceIntegrationTest, locations = '{}', classes = '{class hello.merona.MeronaApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@54e041a4, org.springframework.boot.test.autoconfigure.properties .PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@264f218, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@81d9a72, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@70e38ce1, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@3cfdd820, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@17776a8], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true, 'org.springframework.test.context.event.ApplicationEventsTestExecutionListener.recordApplicationEvents' -> false]]; transaction manager [org.springframework.orm.jpa.JpaTransactionManager@51b41740]; rollback [true] Hibernate: select member0_.id as id1_0_, member0_.name as name2_0_ from member member0_ where member0_.name=? Hibernate: insert into member (id, name) values (default, ?) Hibernate: select member0_.id as id1_0_, member0_.name as name2_0_ from member member0_ where member0_.name=? Hibernate: insert into member (id, name) values (default, ?) 2022-11-21 15:19:23.111 INFO 42553 --- [ main] o.s.t.c.transaction.TransactionContext : Rolled back transaction for test: [DefaultTestContext@e84a8e1 testClass = MemberServiceIntegrationTest, testInstance = hello.merona.service.MemberServiceIntegrationTest@575e862c, testMethod = 중복_회원_예외@MemberServiceIntegrationTest, testException = org.opentest4j.AssertionFailedError: Expected java.lang.IllegalStateException to be thrown, but nothing was thrown., mergedContextConfiguration = [WebMergedContextConfiguration@2e554a3b testClass = MemberServiceIntegrationTest, locations = '{}', classes = '{class hello.merona.MeronaApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@54e041a4, org.springframework.boot.test.autoconfigure.properties .PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@264f218, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@81d9a72, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@70e38ce1, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@3cfdd820, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@17776a8], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true, 'org.springframework.test.context.event.ApplicationEventsTestExecutionListener.recordApplicationEvents' -> false]] org.opentest4j.AssertionFailedError: Expected java.lang.IllegalStateException to be thrown, but nothing was thrown. at org.junit.jupiter.api.AssertThrows.assertThrows( AssertThrows.java:71 ) at org.junit.jupiter.api.AssertThrows.assertThrows( AssertThrows.java:37 ) at org.junit.jupiter.api.Assertions.assertThrows( Assertions.java:3082 ) at hello.merona.service.MemberServiceIntegrationTest.중복_회원_예외( MemberServiceIntegrationTest.java:46 ) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:62 ) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:43 ) at java.base/java.lang.reflect.Method.invoke( Method.java:566 ) at org.junit.platform.commons.util.ReflectionUtils.invokeMethod( ReflectionUtils.java:725 ) at org.junit.jupiter.engine.execution.MethodInvocation.proceed( MethodInvocation.java:60 ) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed( InvocationInterceptorChain.java:131 ) at org.junit.jupiter.engine.extension.TimeoutExtension.intercept( TimeoutExtension.java:149 ) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod( TimeoutExtension.java:140 ) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod( TimeoutExtension.java:84 ) at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0( ExecutableInvoker.java:115 ) at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0( ExecutableInvoker.java:105 ) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed( InvocationInterceptorChain.java:106 ) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed( InvocationInterceptorChain.java:64 ) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke( InvocationInterceptorChain.java:45 ) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke( InvocationInterceptorChain.java:37 ) at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke( ExecutableInvoker.java:104 ) at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke( ExecutableInvoker.java:98 ) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7( TestMethodTestDescriptor.java:214 ) at org.junit.platform.engine.support .hierarchical.ThrowableCollector.execute( ThrowableCollector.java:73 ) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod( TestMethodTestDescriptor.java:210 ) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute( TestMethodTestDescriptor.java:135 ) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute( TestMethodTestDescriptor.java:66 ) at org.junit.platform.engine.support .hierarchical.NodeTestTask.lambda$executeRecursively$6( NodeTestTask.java:151 ) at org.junit.platform.engine.support .hierarchical.ThrowableCollector.execute( ThrowableCollector.java:73 ) at org.junit.platform.engine.support .hierarchical.NodeTestTask.lambda$executeRecursively$8( NodeTestTask.java:141 ) at org.junit.platform.engine.support .hierarchical.Node.around( Node.java:137 ) at org.junit.platform.engine.support .hierarchical.NodeTestTask.lambda$executeRecursively$9( NodeTestTask.java:139 ) at org.junit.platform.engine.support .hierarchical.ThrowableCollector.execute( ThrowableCollector.java:73 ) at org.junit.platform.engine.support .hierarchical.NodeTestTask.executeRecursively( NodeTestTask.java:138 ) at org.junit.platform.engine.support .hierarchical.NodeTestTask.execute( NodeTestTask.java:95 ) at java.base/java.util.ArrayList.forEach( ArrayList.java:1541 ) at org.junit.platform.engine.support .hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll( SameThreadHierarchicalTestExecutorService.java:41 ) at org.junit.platform.engine.support .hierarchical.NodeTestTask.lambda$executeRecursively$6( NodeTestTask.java:155 ) at org.junit.platform.engine.support .hierarchical.ThrowableCollector.execute( ThrowableCollector.java:73 ) at org.junit.platform.engine.support .hierarchical.NodeTestTask.lambda$executeRecursively$8( NodeTestTask.java:141 ) at org.junit.platform.engine.support .hierarchical.Node.around( Node.java:137 ) at org.junit.platform.engine.support .hierarchical.NodeTestTask.lambda$executeRecursively$9( NodeTestTask.java:139 ) at org.junit.platform.engine.support .hierarchical.ThrowableCollector.execute( ThrowableCollector.java:73 ) at org.junit.platform.engine.support .hierarchical.NodeTestTask.executeRecursively( NodeTestTask.java:138 ) at org.junit.platform.engine.support .hierarchical.NodeTestTask.execute( NodeTestTask.java:95 ) at java.base/java.util.ArrayList.forEach( ArrayList.java:1541 ) at org.junit.platform.engine.support .hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll( SameThreadHierarchicalTestExecutorService.java:41 ) at org.junit.platform.engine.support .hierarchical.NodeTestTask.lambda$executeRecursively$6( NodeTestTask.java:155 ) at org.junit.platform.engine.support .hierarchical.ThrowableCollector.execute( ThrowableCollector.java:73 ) at org.junit.platform.engine.support .hierarchical.NodeTestTask.lambda$executeRecursively$8( NodeTestTask.java:141 ) at org.junit.platform.engine.support .hierarchical.Node.around( Node.java:137 ) at org.junit.platform.engine.support .hierarchical.NodeTestTask.lambda$executeRecursively$9( NodeTestTask.java:139 ) at org.junit.platform.engine.support .hierarchical.ThrowableCollector.execute( ThrowableCollector.java:73 ) at org.junit.platform.engine.support .hierarchical.NodeTestTask.executeRecursively( NodeTestTask.java:138 ) at org.junit.platform.engine.support .hierarchical.NodeTestTask.execute( NodeTestTask.java:95 ) at org.junit.platform.engine.support .hierarchical.SameThreadHierarchicalTestExecutorService.submit( SameThreadHierarchicalTestExecutorService.java:35 ) at org.junit.platform.engine.support .hierarchical.HierarchicalTestExecutor.execute( HierarchicalTestExecutor.java:57 ) at org.junit.platform.engine.support .hierarchical.HierarchicalTestEngine.execute( HierarchicalTestEngine.java:54 ) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute( EngineExecutionOrchestrator.java:107 ) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute( EngineExecutionOrchestrator.java:88 ) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0( EngineExecutionOrchestrator.java:54 ) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams( EngineExecutionOrchestrator.java:67 ) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute( EngineExecutionOrchestrator.java:52 ) at org.junit.platform.launcher.core.DefaultLauncher.execute( DefaultLauncher.java:114 ) at org.junit.platform.launcher.core.DefaultLauncher.execute( DefaultLauncher.java:86 ) at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute( DefaultLauncherSession.java:86 ) at org.junit.platform.launcher.core.SessionPerRequestLauncher.execute( SessionPerRequestLauncher.java:53 ) at com.intellij.junit5.JUnit5IdeaTestRunner.startRunnerWithArgs( JUnit5IdeaTestRunner.java:57 ) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute( IdeaTestRunner.java:38 ) at com.intellij.rt.execution.junit.TestsRepeater.repeat( TestsRepeater.java:11 ) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs( IdeaTestRunner.java:35 ) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart( JUnitStarter.java:235 ) at com.intellij.rt.junit.JUnitStarter.main( JUnitStarter.java:54 ) 2022-11-21 15:19:23.131 INFO 42553 --- [ main] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@e84a8e1 testClass = MemberServiceIntegrationTest, testInstance = hello.merona.service.MemberServiceIntegrationTest@477e5b69, testMethod = 회원가입@MemberServiceIntegrationTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@2e554a3b testClass = MemberServiceIntegrationTest, locations = '{}', classes = '{class hello.merona.MeronaApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@54e041a4, org.springframework.boot.test.autoconfigure.properties .PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@264f218, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@81d9a72, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@70e38ce1, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@3cfdd820, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@17776a8], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true, 'org.springframework.test.context.event.ApplicationEventsTestExecutionListener.recordApplicationEvents' -> false]]; transaction manager [org.springframework.orm.jpa.JpaTransactionManager@51b41740]; rollback [false] Hibernate: select member0_.id as id1_0_, member0_.name as name2_0_ from member member0_ where member0_.name=? Hibernate: insert into member (id, name) values (default, ?) 2022-11-21 15:19:23.152 INFO 42553 --- [ main] o.s.t.c.transaction.TransactionContext : Committed transaction for test: [DefaultTestContext@e84a8e1 testClass = MemberServiceIntegrationTest, testInstance = hello.merona.service.MemberServiceIntegrationTest@477e5b69, testMethod = 회원가입@MemberServiceIntegrationTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@2e554a3b testClass = MemberServiceIntegrationTest, locations = '{}', classes = '{class hello.merona.MeronaApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@54e041a4, org.springframework.boot.test.autoconfigure.properties .PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@264f218, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@81d9a72, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@70e38ce1, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@3cfdd820, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@17776a8], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true, 'org.springframework.test.context.event.ApplicationEventsTestExecutionListener.recordApplicationEvents' -> false]] 2022-11-21 15:19:23.161 INFO 42553 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2022-11-21 15:19:23.164 INFO 42553 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 2022-11-21 15:19:23.177 INFO 42553 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. 종료 코드 255(으)로 완료된 프로세스

  • java
  • MVC
  • spring-boot
  • spring
merona0327 댓글 1 좋아요 0 조회수 390

캐시 메모리에 대해 질문드립니다.

미해결

[C++과 언리얼로 만드는 MMORPG 게임 개발 시리즈] Part1: C++ 프로그래밍 입문

메모리에서 레지스터로 데이터를 가져갈 때 예를 들어 mov rax,10 << 이런 식의 코드일 때 렘 메모리에서 캐시 메모리를 거치지 않고 바로 레지스터로 데이터를 복사해서 넣는건가요? 아니면 캐시 메모리에서 레지스터로 데이터가 복사되는건지 궁금합니다.

  • C++
댓글 1 좋아요 0 조회수 369

storm kafka spout , hbase error

미해결

15일간의 빅데이터 파일럿 프로젝트

storm 에서 kafka, hbase에서 에러가 발생 하였습니다. 해당 error를 해결하고자 다른 수강자분께서 남겨주신 글들을 참고하였고 google의 도움을 받았으나 해결이 되지 않았습니다. [zkcli node 정상 . kafka 실시간 데이터 수집은 정상 구동 중] storm jar 파일을 열어 본 결과 아래와 같은 더이상 지원하지 않는다고 합니다. storm jar 파일의 최신화가 필요 할 것 같은데 혹시 개선하실 계획이 있으실까요

  • redis
  • Impala
  • ZooKeeper
  • 데이터 엔지니어링
  • Flume
  • Kafka
  • Hadoop
  • bigdata
민규 댓글 1 좋아요 0 조회수 398

Spring Cloud Gateway - Global Filter Java 설정 방식 문의

미해결

Spring Cloud로 개발하는 마이크로서비스 애플리케이션(MSA)

문득 궁금해서 여쭤봅니다. Spring Cloud Gateway의 GlobalFilter를 강의에서는 yml로 설정하는 방식으로 보여주셨는데, 혹시 이걸 Java 코드로 설정하려면 어떻게 해야되나요? 제가 좀 찾아봤을때는 implement GlobalFilter?를 구현받아서 처리하는 것으로 보이는데 맞을까요...? GlobalFilter가 여러개 있을 경우의 우선순위 설정도 궁금합니다! 매번 감사드립니다!

  • architecture
  • spring-boot
  • spring-cloud
  • JPA
  • Kafka
  • msa
infbackends 댓글 0 좋아요 0 조회수 451

로그인 상태체크

미해결

따라하며 배우는 노드, 리액트 시리즈 - 기본 강의

useEffect(() => { dispatch(auth()).then(response => { // console.log(response) //로그인 하지 않은 상태 if (response.payload.isAuth) { console.log('로그인 상태') }else{ //로그인한 상태 console.log('로그인 아닌 상태') } }) }, []) //import { auth } from '../../../_actions/user_action'; 를 이런식으로 사용하면 안되는 이유가 있나요?

  • react
  • nodejs
김도토리 댓글 0 좋아요 0 조회수 373

database의 id값 생성관련

미해결

스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술

[질문 템플릿] 1. 강의 내용과 관련된 질문인가요? 예 2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? 예 3. 질문 잘하기 메뉴얼을 읽어보셨나요? 예 [질문 내용] JdbcTemplateMemberRepository에 대한 코드를 제공해주신 PDF와 동일하게 따라 쳤고 서버를 실행하였습니다. 그런데 서버에 새로운 회원이 저장될 때 id값이 1부터 시작하는 것이 아니라 32, 53 이렇게 랜덤하게 다른 숫자로 부여됩니다. 서버 문제인가? 해서 DB 서버를 껐다 키도 Table의 내용도 모두 삭제하고 다시 넣었는데도 같은 문제가 발생하여 어떤 문제 때문에 이러한 현상이 발생되는지 궁금하여 질문드립니다.

  • spring-boot
  • java
  • MVC
  • spring
김유진 댓글 1 좋아요 0 조회수 359

Snippets

미해결

Vue.js 중급 강좌 - 웹앱 제작으로 배워보는 Vue.js, ES6, Vuex

Footer css를 하실 때 fc를 치셔서 font: cursive;를 누르시면 내장된 css가 나오던데 저는 그걸 엔터쳐도 font: cursive;로만 나오고 내장된 css가 안나오는데 해결 방법이 있을까요?

  • vuejs
  • javascript
  • es6
  • vuex
제이유 댓글 1 좋아요 1 조회수 194

fread() 함수

미해결

[R을 R려줘] R 기초다지기

가장 최신 버전인 R studio를 사용하고 있지만 fread()라는 함수가 존재하지 않는다는 error message가 뜹니다ㅠㅠ뭐가 문제인가요?

  • R
lgs631657 댓글 1 좋아요 1 조회수 390

@Bean, @Componet 질문

미해결

스프링 시큐리티

@Component FormAuthenticationDetailsSource 의 경우 .java 소스파일에 @Component 를 명시했습니다. @Component public class FormAuthenticationDetailsSource implements AuthenticationDetailsSource<HttpServletRequest, WebAuthenticationDetails> { @Override public WebAuthenticationDetails buildDetails(HttpServletRequest request) { return new FormWebAuthenticationDetails(request); } } 따라서 securityConfig설정클래스의 멤버변수에 @Autowired 로 의존관계설정이 가능하였고 이 것을 아래 코드에서 사용됐습니다. .formLogin() .loginPage("/login") //로그인 페이지의 GET 요청 엔드포인트 .loginProcessingUrl("/login_proc") //로그인 시도의 POST요청 엔드포인트 .defaultSuccessUrl("/") //로그인 성공후 루트페이지로 이동 .authenticationDetailsSource(authenticationDetailsSource) @Bean SecurityConfig에 메소드를 정의하고 @Bean 을 설정하는 경우 참고로, 5) 인증 및 인가 예외 처리 - AjaxLoginUrlAuthenticationEntryPoint 강의의 08:49에서는 @Bean 없이 메소드를 정의했습니다. .and() .exceptionHandling() .accessDeniedHandler(ajaxAccessDeniedHandler()) ... public AccessDeniedHandler ajaxAccessDeniedHandler(){ return new AjaxAccessDeniedHandler(); } new 생성자() 호출하는 경우 .and() .exceptionHandling() .authenticationEntryPoint(new AjaxLoginAuthenticationEntryPoint()) 위 세 가지 케이스로 패턴을 정리할 수 있었는데 공통점은 IoC컨테이너에 빈객체를 생성한다는 점입니다. 차이점은 어떤 것이 있는지 알고싶습니다.

  • java
  • Spring Security
  • spring-boot
창신동 장첸 댓글 1 좋아요 0 조회수 292

https://bit.ly/broken-link 관련 CORS 오류해결

미해결

만들면서 배우는 프론트엔드 DO IT 코딩 (Next.js, Typescript)

https://bit.ly/broken-link 를 이미지로 넣으면 CORS 에러가 나는데, 왜인지는 모르겠지만 이미지 자체는 잘 나오더라구요...? 개발자 도구에 나온 코드로 따로 anonymous.svg 파일을 생성해서 사용했더니 해결되었습니다. <svg viewBox="0 0 128 128" class="chakra-avatar__svg css-16ite8i" role="img" aria-label=" avatar"><path fill="currentColor" d="M103,102.1388 C93.094,111.92 79.3504,118 64.1638,118 C48.8056,118 34.9294,111.768 25,101.7892 L25,95.2 C25,86.8096 31.981,80 40.6,80 L87.4,80 C96.019,80 103,86.8096 103,95.2 L103,102.1388 Z"></path><path fill="currentColor" d="M63.9961647,24 C51.2938136,24 41,34.2938136 41,46.9961647 C41,59.7061864 51.2938136,70 63.9961647,70 C76.6985159,70 87,59.7061864 87,46.9961647 C87,34.2938136 76.6985159,24 63.9961647,24"></path></svg>

  • Next.js
유주 댓글 1 좋아요 0 조회수 328

useToast 에러

미해결

만들면서 배우는 프론트엔드 DO IT 코딩 (Next.js, Typescript)

사용자 홈 페이지-1 > 질문 입력 컴포넌트 제작 강의에서 textarea에서 토스트 사용 시 에러가 발생해서 문의드립니다... 조건은 잘 먹혀서 코드 문제는 아닌 것 같은데.. 7줄 이상이라는 조건이 달성되면 toast를 실행하지 않고 에러가 반환됩니다. 작성 코드 import { useToast } from '@chakra-ui/react'; const toast = useToast(); <Textarea value={message} onChange={(e) => { if (e.currentTarget.value) { const lineCount = (e.currentTarget.value.match(/[^\n]*\n[^\n]*/gi)?.length ?? 1) + 1; if (lineCount > 7) { toast({ title: '최대 7줄까지만 입력가능합니다', position: 'top-right', }); return; } } setMessage(e.currentTarget.value); }} /> 에러메세지 혹시나 뭔가 버전이 문제가 되는 걸까 해서 함께 첨부합니다. package.json "@chakra-ui/react": "1.8", "@emotion/react": "^11.10.5", "@emotion/styled": "^11.10.5", "firebase": "^9.14.0", "firebase-admin": "^11.3.0", "framer-motion": "^7.6.7", "next": "12.0.7", "react": "17.0.2", "react-dom": "17.0.2", "react-textarea-autosize": "^8.4.0", "styled-components": "^5.3.3"

  • Next.js
유주 댓글 1 좋아요 0 조회수 622

갑자기 process 객체가?

미해결

Do it! Node.js 프로그래밍(개정판)

갑자기 설명이 없던 this는 뭔가요?

  • nodejs
odark 댓글 0 좋아요 0 조회수 229

FetchType.Lazy

미해결

실전! 스프링 부트와 JPA 활용2 - API 개발과 성능 최적화

학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요. 1. 강의 내용과 관련된 질문을 남겨주세요. 2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요. (자주 하는 질문 링크: https://bit.ly/3fX6ygx) 3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요. (질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG) 질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요. ========================================= [질문 템플릿] 1. 강의 내용과 관련된 질문인가요? (예/아니오) 2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오) 3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오) [질문 내용] 여기에 질문 내용을 남겨주세요. 강의에서 orderItems=order.getOrderItems(); 이부분에서 orderItems가 왜 값이 비어있는지 궁금합니다. Lazy타입은 호출 시 쿼리가 나간다고 들었는데 그러면 쿼리가 나간 후 OrderItem에 있는 Lazy타입인 값들을 제외하고는 다른것들은 값이 나와야하는거 아닌가요?

  • java
  • JPA
  • spring-boot
  • spring
병일 댓글 2 좋아요 0 조회수 366

C#으로 DB를 만든다음에 어떻게 외부에서 사용하나요??

해결됨

[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part8: Entity Framework Core

이런식으로 데이터를 만들고 EC2 컴퓨터에다가 이 데이터를 옮기거나 하는 방법이 있나요? 제 생각은 만든 파일을 메세지나 S3에 끌어다 넣고 올리는줄 알았는데 상위 폴더를 열어서 파일을 가져갈까 생각해 봤는데 열수가 없다고 해요 SQL Server 폴더에 들어가려고 해도 경로를 주지를 않아서 만약에 이 데이터를 만든 걸 다른 곳에서 사용하고 싶을 때는 어떻게 해요 하나요? ㅜㅜ

  • EF-Core
  • ORM
임형국 댓글 1 좋아요 0 조회수 1085

when 에서 early return 관련

미해결

자바 개발자를 위한 코틀린 입문(Java to Kotlin Starter Guide)

안녕하세요! 이해가 쏙쏙 되도록 강의를 잘 해주셔서 정말 잘 듣고 있습니다. "5강. 코틀린에서 제어문을 다루는 방법" 에서 궁금한 점이 있어 질문 드립니다. when (값) 에서 값을 생략하면 ealry return 처럼 동작한다고 설명해주셨는데, 실제 코드를 수행하면 그렇게 동작하지 않는 것 같네요. 아래와 같이 println("xxx") 를 추가했을 때 early return 이라면 해당 코드가 동작하지 않아야 되는데 동작을 합니다. fun judgeNumber2(number: Int) { when { number == 0 -> {} number % 2 == 0 -> println("주어진 숫자는 짝수입니다") else -> println("주어지는 숫자는 홀수입니다") } println("이 코드가 동작하나요?") } 실제 early return 으로 동작하려면 아래와 같이 when expression 을 통째로 return 해야 가능해 보입니다. 이렇게 하면 맨 아래 코드가 intellij 에서는 unreachable code 라고 뜨네요. fun judgeNumber2(number: Int) { return when { number == 0 -> {} number % 2 == 0 -> println("주어진 숫자는 짝수입니다") else -> println("주어지는 숫자는 홀수입니다") } println("이 코드가 동작하나요?") } 혹시 제가 잘못 이해하고 있는 것인지 답변 부탁 드릴게요~~ ^^

  • kotlin
  • oop
  • kotlin
  • java
우창호 댓글 1 좋아요 4 조회수 636

인기 태그

인프런 TOP Writers

주간 인기글