This commit is contained in:
evanc 2015-10-29 00:48:52 -07:00
Родитель 1742343c3b
Коммит c29fecf80b
3 изменённых файлов: 18 добавлений и 5 удалений

Просмотреть файл

@ -18,7 +18,7 @@
</Compiler> </Compiler>
<Linker> <Linker>
<Add option="-lpthread" /> <Add option="-lpthread" />
<Add library="../../casablanca/Release/build.debug/Binaries/libcpprest.so" /> <Add library="../../hpccasa/Release/build.debug/Binaries/libcpprest.so" />
</Linker> </Linker>
<ExtraCommands> <ExtraCommands>
<Add after="cp scripts/* bin/Debug/" /> <Add after="cp scripts/* bin/Debug/" />
@ -34,7 +34,7 @@
</Compiler> </Compiler>
<Linker> <Linker>
<Add option="-lpthread" /> <Add option="-lpthread" />
<Add library="../../casablanca/Release/build.release/Binaries/libcpprest.so" /> <Add library="../../hpccasa/Release/build.release/Binaries/libcpprest.so" />
</Linker> </Linker>
<ExtraCommands> <ExtraCommands>
<Add after="cp scripts/* bin/Release/" /> <Add after="cp scripts/* bin/Release/" />
@ -45,7 +45,7 @@
<Add option="-fexceptions" /> <Add option="-fexceptions" />
<Add option="-Wno-unused-local-typedefs" /> <Add option="-Wno-unused-local-typedefs" />
<Add option="-std=c++1y" /> <Add option="-std=c++1y" />
<Add directory="../../casablanca/Release/include" /> <Add directory="../../hpccasa/Release/include" />
<Add directory="../../spdlog/include" /> <Add directory="../../spdlog/include" />
</Compiler> </Compiler>
<Unit filename="Readme.txt" /> <Unit filename="Readme.txt" />
@ -68,6 +68,10 @@
<Unit filename="common/ErrorCodes.h" /> <Unit filename="common/ErrorCodes.h" />
<Unit filename="config/nm_proxy.conf" /> <Unit filename="config/nm_proxy.conf" />
<Unit filename="config/nodemanager.json" /> <Unit filename="config/nodemanager.json" />
<Unit filename="core/HostsManager.cpp" />
<Unit filename="core/HostsManager.h" />
<Unit filename="core/HttpFetcher.cpp" />
<Unit filename="core/HttpFetcher.h" />
<Unit filename="core/HttpHelper.cpp" /> <Unit filename="core/HttpHelper.cpp" />
<Unit filename="core/HttpHelper.h" /> <Unit filename="core/HttpHelper.h" />
<Unit filename="core/HttpReporter.cpp" /> <Unit filename="core/HttpReporter.cpp" />
@ -75,6 +79,8 @@
<Unit filename="core/IRemoteExecutor.h" /> <Unit filename="core/IRemoteExecutor.h" />
<Unit filename="core/JobTaskTable.cpp" /> <Unit filename="core/JobTaskTable.cpp" />
<Unit filename="core/JobTaskTable.h" /> <Unit filename="core/JobTaskTable.h" />
<Unit filename="core/MetricCollectorBase.cpp" />
<Unit filename="core/MetricCollectorBase.h" />
<Unit filename="core/Monitor.cpp" /> <Unit filename="core/Monitor.cpp" />
<Unit filename="core/Monitor.h" /> <Unit filename="core/Monitor.h" />
<Unit filename="core/NodeManagerConfig.cpp" /> <Unit filename="core/NodeManagerConfig.cpp" />
@ -89,6 +95,8 @@
<Unit filename="core/Reporter.h" /> <Unit filename="core/Reporter.h" />
<Unit filename="core/UdpReporter.cpp" /> <Unit filename="core/UdpReporter.cpp" />
<Unit filename="core/UdpReporter.h" /> <Unit filename="core/UdpReporter.h" />
<Unit filename="data/HostEntry.cpp" />
<Unit filename="data/HostEntry.h" />
<Unit filename="data/JobInfo.cpp" /> <Unit filename="data/JobInfo.cpp" />
<Unit filename="data/JobInfo.h" /> <Unit filename="data/JobInfo.h" />
<Unit filename="data/MonitoringPacket.cpp" /> <Unit filename="data/MonitoringPacket.cpp" />

Просмотреть файл

@ -420,6 +420,11 @@ namespace hpc
"Added hosts file support", "Added hosts file support",
} }
}, },
{ "1.6.13.0",
{
"Fix a deadlock caused by the input string stream reading",
}
},
}; };
return versionHistory; return versionHistory;

Просмотреть файл

@ -226,7 +226,7 @@ int System::Iostat(float &bytesPerSecond)
std::string device; std::string device;
while (device != "Device:") while (device != "Device:" && iss.good())
{ {
iss >> device; iss >> device;
iss.ignore(std::numeric_limits<std::streamsize>::max(), '\n'); iss.ignore(std::numeric_limits<std::streamsize>::max(), '\n');
@ -254,7 +254,7 @@ int System::IostatX(float &queueLength)
std::string device; std::string device;
while (device != "Device:") while (device != "Device:" && iss.good())
{ {
iss >> device; iss >> device;
iss.ignore(std::numeric_limits<std::streamsize>::max(), '\n'); iss.ignore(std::numeric_limits<std::streamsize>::max(), '\n');